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.001444/0.001444, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001776/0.001776, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002064/0.002064, allocations: 63.69 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4542, allocations: 176.1 MB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01131/0.4655, allocations: 4.616 MB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007554/0.4731, allocations: 2.409 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.4737, allocations: 35.62 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.4756, allocations: 417.2 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.4777, allocations: 465.7 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.4792, allocations: 371.2 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.481, allocations: 0.9216 MB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.4818, allocations: 318.4 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.4826, allocations: 354.6 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.4834, allocations: 370.4 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4835, allocations: 36 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4847, allocations: 363.2 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.485, allocations: 187.3 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.4854, allocations: 258.7 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.487, allocations: 0.891 MB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.487, allocations: 8 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.487, allocations: 3.938 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.487, allocations: 0 / 1.339 GB, free: 5.164 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.002219/0.4892, allocations: 0.8779 MB / 1.34 GB, free: 4.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4892, allocations: 12.03 kB / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.4915, allocations: 200.3 kB / 1.34 GB, free: 4.043 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.493, allocations: 484.7 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.493, allocations: 33.38 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.4932, allocations: 52.31 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4953, allocations: 0.9781 MB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.4953, allocations: 7.938 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.4954, allocations: 23.98 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.4956, allocations: 64.95 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.4971, allocations: 0.5656 MB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008006/0.5051, allocations: 4.623 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5062, allocations: 426.8 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.5067, allocations: 200.7 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.5068, allocations: 4 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5068, allocations: 42.5 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 4.939e-06/0.5068, allocations: 0 / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0039/0.5107, allocations: 1.125 MB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.5108, allocations: 71.55 kB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.5114, allocations: 462.7 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5115, allocations: 29.7 kB / 1.349 GB, free: 10.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.5118, allocations: 376.2 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.5119, allocations: 123 kB / 1.349 GB, free: 9.953 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.5121, allocations: 110.2 kB / 1.349 GB, free: 9.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.5123, allocations: 366.8 kB / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5126, allocations: 189.2 kB / 1.35 GB, free: 9.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.5132, allocations: 451.8 kB / 1.35 GB, free: 8.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5142, allocations: 0.6994 MB / 1.351 GB, free: 7.914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5142, allocations: 4 kB / 1.351 GB, free: 7.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00147/0.5157, allocations: 0.802 MB / 1.352 GB, free: 7.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.5157, allocations: 8 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.5157, allocations: 8 kB / 1.352 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.5163, allocations: 148.2 kB / 1.352 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.5168, allocations: 127.7 kB / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.5208, allocations: 3.966 MB / 1.356 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.5212, allocations: 35.97 kB / 1.356 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.5212, allocations: 28 kB / 1.356 GB, free: 2.449 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.0003614/0.5216, allocations: 209.8 kB / 1.356 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5217, allocations: 67.55 kB / 1.356 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5229, allocations: 0.5966 MB / 1.357 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5229, allocations: 7.938 kB / 1.357 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5229, allocations: 0 / 1.357 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5229, allocations: 0 / 1.357 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.5249, allocations: 1.121 MB / 1.358 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.525, allocations: 0 / 1.358 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.5253, allocations: 64.11 kB / 1.358 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.5258, allocations: 144.1 kB / 1.358 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.5259, allocations: 8 kB / 1.358 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.5299, allocations: 3.957 MB / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5299, allocations: 12.06 kB / 1.362 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.5312, allocations: 0.6969 MB / 1.363 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.5315, allocations: 83.64 kB / 1.363 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5316, allocations: 11.98 kB / 1.363 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.5319, allocations: 19.97 kB / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/0.5319, allocations: 39.83 kB / 1.363 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.532, allocations: 12 kB / 1.363 GB, free: 10.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003929/0.5324, allocations: 302.9 kB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.5324, allocations: 0 / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000739/0.5331, allocations: 136 kB / 1.363 GB, free: 10.5 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.0002003/0.5333, allocations: 112.8 kB / 1.363 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.5349, allocations: 0.8552 MB / 1.364 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5349, allocations: 0 / 1.364 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.5358, allocations: 0.5764 MB / 1.365 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5369, allocations: 199.1 kB / 1.365 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.5391, allocations: 1.052 MB / 1.366 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.5395, allocations: 311.3 kB / 1.366 GB, free: 7.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.5399, allocations: 121 kB / 1.366 GB, free: 7.121 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.54, allocations: 35.44 kB / 1.366 GB, free: 7.086 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.54, allocations: 0 / 1.366 GB, free: 7.086 MB / 1.061 GB Notification: Performance of Templates: time 0.01723/0.5573, allocations: 8.668 MB / 1.375 GB, free: 14.62 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 -s cvode -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/jenkins1/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.449356384997373]