Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 222.7 kB / 22.26 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.332/3.332, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 72.33 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4322, allocations: 176.1 MB / 1.326 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01117/0.4434, allocations: 5.003 MB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00693/0.4503, allocations: 2.576 MB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008603/0.4512, allocations: 39.62 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.4532, allocations: 414 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.4552, allocations: 469.6 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.4567, allocations: 387 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.4588, allocations: 0.9178 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009539/0.4598, allocations: 318.3 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.4609, allocations: 354.6 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009648/0.4619, allocations: 362.5 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.462, allocations: 40 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.4633, allocations: 415.1 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.4637, allocations: 187.4 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.4644, allocations: 318.2 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.4666, allocations: 0.887 MB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.4666, allocations: 3.984 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4666, allocations: 0 / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.101e-05/0.4666, allocations: 0 / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002812/0.4695, allocations: 0.8896 MB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.4695, allocations: 12.02 kB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.4718, allocations: 200.3 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.4733, allocations: 480.8 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.4734, allocations: 37.38 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4735, allocations: 48.31 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4754, allocations: 0.8448 MB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.4754, allocations: 7.938 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.4755, allocations: 23.98 kB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.4757, allocations: 64.95 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.4772, allocations: 0.5616 MB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/0.4851, allocations: 5.582 MB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4862, allocations: 422.7 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.4867, allocations: 204.7 kB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.4867, allocations: 7.984 kB / 1.348 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4868, allocations: 38.56 kB / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 4.759e-06/0.4868, allocations: 0 / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.004043/0.4908, allocations: 1.132 MB / 1.349 GB, free: 9.609 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.4909, allocations: 55.69 kB / 1.349 GB, free: 9.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.4918, allocations: 0.4911 MB / 1.349 GB, free: 9.043 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4918, allocations: 29.7 kB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.4922, allocations: 367.8 kB / 1.35 GB, free: 8.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.4924, allocations: 127 kB / 1.35 GB, free: 8.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.4927, allocations: 110.2 kB / 1.35 GB, free: 8.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002697/0.4929, allocations: 370.7 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.4934, allocations: 193.2 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/0.4942, allocations: 455.9 kB / 1.351 GB, free: 7.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.4957, allocations: 0.6876 MB / 1.352 GB, free: 6.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.4957, allocations: 4 kB / 1.352 GB, free: 6.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001711/0.4974, allocations: 0.7981 MB / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4974, allocations: 12.22 kB / 1.353 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.4974, allocations: 8 kB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.498, allocations: 160 kB / 1.353 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.4985, allocations: 119.8 kB / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/0.5023, allocations: 4.042 MB / 1.357 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.5028, allocations: 35.97 kB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.5028, allocations: 28 kB / 1.357 GB, free: 0.8984 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.5031, allocations: 217.5 kB / 1.357 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5032, allocations: 67.61 kB / 1.357 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5044, allocations: 0.5932 MB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5044, allocations: 4 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5044, allocations: 3.938 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5044, allocations: 0 / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.5064, allocations: 1.238 MB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.5064, allocations: 3.984 kB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5067, allocations: 52.17 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/0.5072, allocations: 148.1 kB / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.5072, allocations: 11.94 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.511, allocations: 4.037 MB / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.511, allocations: 0 / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.5121, allocations: 0.7082 MB / 1.364 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.5124, allocations: 95.58 kB / 1.364 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.5125, allocations: 8 kB / 1.364 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.5128, allocations: 19.97 kB / 1.364 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.5129, allocations: 39.88 kB / 1.364 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.5129, allocations: 12 kB / 1.364 GB, free: 9.117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004067/0.5133, allocations: 326.9 kB / 1.364 GB, free: 8.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5133, allocations: 0 / 1.364 GB, free: 8.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007052/0.514, allocations: 148 kB / 1.364 GB, free: 8.656 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.5142, allocations: 109.2 kB / 1.364 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.5158, allocations: 0.8552 MB / 1.365 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5158, allocations: 0 / 1.365 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.5167, allocations: 0.5723 MB / 1.366 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5178, allocations: 204.7 kB / 1.366 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.5197, allocations: 1.062 MB / 1.367 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.5204, allocations: 0.9097 MB / 1.368 GB, free: 4.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003494/0.5207, allocations: 117.3 kB / 1.368 GB, free: 4.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5208, allocations: 43.42 kB / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of SimCode: time 7.51e-07/0.5208, allocations: 0 / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of Templates: time 0.01862/0.5394, allocations: 8.045 MB / 1.376 GB, free: 12.68 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.380268201231956]