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.002241/0.002241, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.002737/0.002737, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.222/3.222, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 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.002126/0.002126, allocations: 61.81 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4781, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00824/0.4863, allocations: 4.913 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0062/0.4925, allocations: 2.518 MB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.4933, allocations: 35.62 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.4949, allocations: 411.3 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.4966, allocations: 469.7 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.4978, allocations: 365.4 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.4994, allocations: 0.9212 MB / 1.331 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.5, allocations: 290.5 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.5006, allocations: 354.6 kB / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.5012, allocations: 370.4 kB / 1.332 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.5013, allocations: 36 kB / 1.332 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009496/0.5022, allocations: 407.1 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.5024, allocations: 183.4 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.5027, allocations: 330.1 kB / 1.333 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.5039, allocations: 0.8832 MB / 1.333 GB, free: 6.344 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5039, allocations: 0 / 1.333 GB, free: 6.344 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5039, allocations: 0 / 1.333 GB, free: 6.344 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.5039, allocations: 0 / 1.333 GB, free: 6.344 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.001597/0.5055, allocations: 0.9667 MB / 1.334 GB, free: 5.328 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.5056, allocations: 15.98 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5069, allocations: 204.2 kB / 1.335 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.5078, allocations: 0.5417 MB / 1.335 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.5078, allocations: 29.38 kB / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.5079, allocations: 48.3 kB / 1.335 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5092, allocations: 0.8448 MB / 1.336 GB, free: 3.484 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.5092, allocations: 11.94 kB / 1.336 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.5092, allocations: 23.98 kB / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.5093, allocations: 68.95 kB / 1.336 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.5102, allocations: 0.5578 MB / 1.337 GB, free: 2.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005179/0.5154, allocations: 5.655 MB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.5161, allocations: 422.3 kB / 1.343 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.5164, allocations: 204.7 kB / 1.343 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.5164, allocations: 0 / 1.343 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.5165, allocations: 38.56 kB / 1.343 GB, free: 12.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.5165, allocations: 4 kB / 1.343 GB, free: 12.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002858/0.5193, allocations: 1.511 MB / 1.344 GB, free: 10.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.5194, allocations: 55.69 kB / 1.344 GB, free: 10.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.5199, allocations: 499 kB / 1.345 GB, free: 9.906 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.52, allocations: 29.7 kB / 1.345 GB, free: 9.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.5203, allocations: 363.7 kB / 1.345 GB, free: 9.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.5204, allocations: 123 kB / 1.345 GB, free: 9.391 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.5206, allocations: 114.2 kB / 1.345 GB, free: 9.273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5208, allocations: 370.8 kB / 1.346 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.5211, allocations: 189.2 kB / 1.346 GB, free: 8.719 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.5216, allocations: 451.3 kB / 1.346 GB, free: 8.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.5225, allocations: 0.6954 MB / 1.347 GB, free: 7.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5225, allocations: 8 kB / 1.347 GB, free: 7.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001963/0.5245, allocations: 0.7983 MB / 1.348 GB, free: 6.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.5245, allocations: 8 kB / 1.348 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5245, allocations: 8 kB / 1.348 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/0.5251, allocations: 160.1 kB / 1.348 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.5259, allocations: 119.8 kB / 1.348 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.5309, allocations: 4.344 MB / 1.352 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.5315, allocations: 35.97 kB / 1.352 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.5316, allocations: 28 kB / 1.352 GB, free: 1.395 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.0004753/0.532, allocations: 221.4 kB / 1.353 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5322, allocations: 63.62 kB / 1.353 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.5339, allocations: 0.5969 MB / 1.353 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5339, allocations: 4 kB / 1.353 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5339, allocations: 0 / 1.353 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5339, allocations: 0 / 1.353 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.5368, allocations: 1.262 MB / 1.354 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5368, allocations: 0 / 1.354 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.5371, allocations: 55.89 kB / 1.355 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005663/0.5377, allocations: 140.4 kB / 1.355 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.5377, allocations: 11.94 kB / 1.355 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.5424, allocations: 4.348 MB / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5424, allocations: 0 / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.5439, allocations: 0.7243 MB / 1.36 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5443, allocations: 172.6 kB / 1.36 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5444, allocations: 8 kB / 1.36 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.5448, allocations: 23.97 kB / 1.36 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5449, allocations: 35.83 kB / 1.36 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.545, allocations: 12 kB / 1.36 GB, free: 9.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005859/0.5455, allocations: 330.9 kB / 1.36 GB, free: 8.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5455, allocations: 0 / 1.36 GB, free: 8.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000982/0.5465, allocations: 144 kB / 1.36 GB, free: 8.633 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.0002098/0.5467, allocations: 119.3 kB / 1.36 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.5488, allocations: 1.005 MB / 1.361 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.5488, allocations: 4 kB / 1.361 GB, free: 7.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.55, allocations: 0.719 MB / 1.362 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.5513, allocations: 205.2 kB / 1.362 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5534, allocations: 1.038 MB / 1.363 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.554, allocations: 0.9058 MB / 1.364 GB, free: 4.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.5543, allocations: 121.3 kB / 1.364 GB, free: 4.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5544, allocations: 43.44 kB / 1.364 GB, free: 4.23 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/0.5544, allocations: 3.938 kB / 1.364 GB, free: 4.227 MB / 1.061 GB Notification: Performance of Templates: time 0.01781/0.5722, allocations: 7.781 MB / 1.372 GB, free: 12.55 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.70286443689838]