Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001942/0.001942, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002524/0.002524, allocations: 220.1 kB / 23.01 MB, free: 4.609 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 2.285/2.285, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 177] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002065/0.002065, allocations: 71.05 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007258/0.383, allocations: 5.014 MB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004606/0.3876, allocations: 2.569 MB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.388, allocations: 35.62 kB / 1.362 GB, free: 324 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3895, allocations: 424.6 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3906, allocations: 461.7 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3917, allocations: 385.6 kB / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3928, allocations: 0.9177 MB / 1.364 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.3933, allocations: 318.3 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.3939, allocations: 358.6 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.3944, allocations: 366.4 kB / 1.365 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.3945, allocations: 36 kB / 1.365 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.3952, allocations: 411.1 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.3954, allocations: 179.4 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.3957, allocations: 326.2 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3968, allocations: 0.887 MB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3968, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3968, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.3968, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 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.001479/0.3983, allocations: 0.8896 MB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3983, allocations: 11.97 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.3995, allocations: 204.2 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.4004, allocations: 480.8 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.4004, allocations: 37.36 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4005, allocations: 44.36 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4017, allocations: 0.8486 MB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.4017, allocations: 19.92 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.4018, allocations: 20 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.4019, allocations: 60.95 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.4028, allocations: 0.5695 MB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.4077, allocations: 5.574 MB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.4084, allocations: 422.3 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.4087, allocations: 204.7 kB / 1.376 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.4088, allocations: 4 kB / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.4088, allocations: 38.56 kB / 1.376 GB, free: 1.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.4088, allocations: 4 kB / 1.376 GB, free: 1.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002557/0.4114, allocations: 1.137 MB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4114, allocations: 55.69 kB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.412, allocations: 0.495 MB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.412, allocations: 33.7 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4123, allocations: 355.8 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.4124, allocations: 126.9 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4126, allocations: 114.2 kB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4128, allocations: 362.8 kB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.4131, allocations: 193.2 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.4136, allocations: 451.3 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.4145, allocations: 0.6876 MB / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4145, allocations: 8 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001362/0.4159, allocations: 0.8021 MB / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4159, allocations: 8 kB / 1.38 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4159, allocations: 16.08 kB / 1.38 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.4164, allocations: 152.1 kB / 1.38 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.4169, allocations: 123.7 kB / 1.381 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.4206, allocations: 4.037 MB / 1.384 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.4211, allocations: 31.97 kB / 1.385 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.4211, allocations: 31.98 kB / 1.385 GB, free: 7.445 MB / 1.076 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.000301/0.4214, allocations: 218.1 kB / 1.385 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4215, allocations: 63.69 kB / 1.385 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.4226, allocations: 0.5971 MB / 1.385 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4226, allocations: 4 kB / 1.385 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4226, allocations: 0 / 1.385 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4226, allocations: 3.984 kB / 1.385 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.4246, allocations: 1.23 MB / 1.387 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4246, allocations: 0 / 1.387 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.4249, allocations: 59.89 kB / 1.387 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.4253, allocations: 144.3 kB / 1.387 GB, free: 5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.4253, allocations: 11.94 kB / 1.387 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.4289, allocations: 4.03 MB / 1.391 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4289, allocations: 8.031 kB / 1.391 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.43, allocations: 0.7082 MB / 1.391 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4303, allocations: 91.53 kB / 1.392 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.4303, allocations: 8 kB / 1.392 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4306, allocations: 19.97 kB / 1.392 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.4306, allocations: 39.83 kB / 1.392 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4307, allocations: 12 kB / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003899/0.431, allocations: 334.8 kB / 1.392 GB, free: 15.35 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.431, allocations: 0 / 1.392 GB, free: 15.35 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000652/0.4317, allocations: 140 kB / 1.392 GB, free: 15.21 MB / 1.092 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.0001613/0.4319, allocations: 118.9 kB / 1.392 GB, free: 15.09 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.4333, allocations: 0.8552 MB / 1.393 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4333, allocations: 0 / 1.393 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.4341, allocations: 0.5801 MB / 1.394 GB, free: 13.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.435, allocations: 206 kB / 1.394 GB, free: 13.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4368, allocations: 1.103 MB / 1.395 GB, free: 12.21 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.4373, allocations: 0.9059 MB / 1.396 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4375, allocations: 43.44 kB / 1.396 GB, free: 11.24 MB / 1.092 GB Notification: Performance of SimCode: time 6.92e-07/0.4375, allocations: 0 / 1.396 GB, free: 11.24 MB / 1.092 GB Notification: Performance of Templates: time 0.02412/0.4616, allocations: 18.08 MB / 1.413 GB, free: 9.195 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.587199238012545]