Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8498, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006778/0.8566, allocations: 4.857 MB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.861, allocations: 2.459 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.8616, allocations: 23.81 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.8631, allocations: 399.4 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.8645, allocations: 469.6 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.8656, allocations: 381.7 kB / 1.176 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.867, allocations: 0.9057 MB / 1.177 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.8678, allocations: 358.5 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.8684, allocations: 338.6 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.8691, allocations: 346.5 kB / 1.178 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.8692, allocations: 43.94 kB / 1.178 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.8701, allocations: 407.1 kB / 1.178 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.8704, allocations: 183.4 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.8709, allocations: 322.2 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.8724, allocations: 0.8776 MB / 1.179 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8724, allocations: 0 / 1.179 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.123e-06/0.8724, allocations: 0 / 1.179 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.42e-05/0.8725, allocations: 0 / 1.179 GB, free: 7.57 MB / 0.9044 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.001891/0.8744, allocations: 0.9386 MB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8744, allocations: 8.922 kB / 1.18 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.8758, allocations: 199.8 kB / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.8768, allocations: 0.5296 MB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.8769, allocations: 41.3 kB / 1.181 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.877, allocations: 52.2 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.8781, allocations: 0.8448 MB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.8782, allocations: 11.94 kB / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.8783, allocations: 23.98 kB / 1.182 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.8783, allocations: 64.95 kB / 1.182 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.8793, allocations: 0.5695 MB / 1.182 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.8843, allocations: 5.639 MB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.8851, allocations: 462.1 kB / 1.188 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.8854, allocations: 228.7 kB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.8854, allocations: 4 kB / 1.189 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.8855, allocations: 34.55 kB / 1.189 GB, free: 13.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 2.876e-06/0.8855, allocations: 4 kB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002691/0.8882, allocations: 1.499 MB / 1.19 GB, free: 11.69 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.8882, allocations: 55.69 kB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.8888, allocations: 0.4911 MB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.8888, allocations: 33.7 kB / 1.191 GB, free: 11.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.8891, allocations: 350.8 kB / 1.191 GB, free: 10.74 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.8892, allocations: 130.2 kB / 1.191 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.8894, allocations: 110.2 kB / 1.191 GB, free: 10.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8896, allocations: 362.8 kB / 1.192 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.8899, allocations: 201.1 kB / 1.192 GB, free: 9.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.8904, allocations: 448.9 kB / 1.192 GB, free: 9.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.8912, allocations: 0.6882 MB / 1.193 GB, free: 8.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8913, allocations: 8 kB / 1.193 GB, free: 8.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001309/0.8926, allocations: 0.7941 MB / 1.194 GB, free: 7.754 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8926, allocations: 15.94 kB / 1.194 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.8926, allocations: 12.08 kB / 1.194 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.8932, allocations: 152.1 kB / 1.194 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.8936, allocations: 123.8 kB / 1.194 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.8973, allocations: 4.36 MB / 1.198 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.8978, allocations: 31.97 kB / 1.198 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.8978, allocations: 28 kB / 1.198 GB, free: 2.605 MB / 0.92 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.0003026/0.8981, allocations: 217.3 kB / 1.199 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8983, allocations: 59.25 kB / 1.199 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.8993, allocations: 0.6049 MB / 1.199 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.8993, allocations: 4 kB / 1.199 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8993, allocations: 0 / 1.199 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.8993, allocations: 3.984 kB / 1.199 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.9013, allocations: 1.257 MB / 1.2 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9013, allocations: 8 kB / 1.2 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.9015, allocations: 51.89 kB / 1.2 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.902, allocations: 144.4 kB / 1.201 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.902, allocations: 11.94 kB / 1.201 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.9054, allocations: 4.325 MB / 1.205 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9055, allocations: 4.188 kB / 1.205 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.9065, allocations: 0.7076 MB / 1.206 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.9068, allocations: 176.3 kB / 1.206 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.9069, allocations: 8 kB / 1.206 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.9072, allocations: 23.97 kB / 1.206 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.9073, allocations: 39.78 kB / 1.206 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.9073, allocations: 15.98 kB / 1.206 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003569/0.9076, allocations: 334.8 kB / 1.206 GB, free: 10 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9076, allocations: 0 / 1.206 GB, free: 10 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006634/0.9083, allocations: 140 kB / 1.206 GB, free: 9.863 MB / 0.9356 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.0001586/0.9085, allocations: 111.2 kB / 1.206 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.9099, allocations: 1.037 MB / 1.207 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9099, allocations: 0 / 1.207 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.9107, allocations: 0.7388 MB / 1.208 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.9117, allocations: 200.5 kB / 1.208 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.9134, allocations: 1.065 MB / 1.209 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.914, allocations: 0.9175 MB / 1.21 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.9141, allocations: 43.44 kB / 1.21 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9141, allocations: 0 / 1.21 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.02238/0.9365, allocations: 18.04 MB / 1.228 GB, free: 3.488 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches