Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01221/0.01221, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.002162/0.002162, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.2 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.72 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3612, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005746/0.367, allocations: 3.741 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.3702, allocations: 1.797 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.3705, allocations: 15.88 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009048/0.3715, allocations: 266.7 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.3723, allocations: 310.4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.3729, allocations: 257.6 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000714/0.3736, allocations: 0.601 MB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.374, allocations: 251.1 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.3744, allocations: 243.1 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3747, allocations: 243 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.3747, allocations: 24 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.3754, allocations: 275.4 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3756, allocations: 119.6 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.3759, allocations: 206.9 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.3768, allocations: 0.5874 MB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3768, allocations: 3.938 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3769, allocations: 0 / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3769, allocations: 4 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001218/0.3781, allocations: 0.755 MB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3782, allocations: 12.03 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/0.379, allocations: 132.5 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.3796, allocations: 411.9 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3797, allocations: 21.03 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.3797, allocations: 32.36 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008873/0.3806, allocations: 0.5566 MB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3807, allocations: 0 / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.3807, allocations: 16 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/0.3808, allocations: 40.53 kB / 1.099 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.3814, allocations: 413.7 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.3845, allocations: 3.334 MB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.3852, allocations: 342.4 kB / 1.103 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.3856, allocations: 180.7 kB / 1.103 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3856, allocations: 4 kB / 1.103 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3857, allocations: 38.5 kB / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.3857, allocations: 0 / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27): time 0.002145/0.3878, allocations: 1.061 MB / 1.104 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3879, allocations: 55.64 kB / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.3883, allocations: 341.6 kB / 1.104 GB, free: 304 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3883, allocations: 25.7 kB / 1.104 GB, free: 272 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.3885, allocations: 252.1 kB / 1.104 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.3886, allocations: 103.2 kB / 1.104 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3887, allocations: 78.08 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3888, allocations: 346.8 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3891, allocations: 144.8 kB / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.3895, allocations: 298.5 kB / 1.105 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.3901, allocations: 478.5 kB / 1.106 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3902, allocations: 4 kB / 1.106 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001034/0.3912, allocations: 0.5622 MB / 1.106 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3912, allocations: 9.875 kB / 1.106 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3913, allocations: 4 kB / 1.106 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.3916, allocations: 90.44 kB / 1.106 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.3919, allocations: 87.88 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3919, allocations: 12.16 kB / 1.107 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3922, allocations: 35.84 kB / 1.107 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.3923, allocations: 20 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.3925, allocations: 173.7 kB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.3926, allocations: 47.66 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3936, allocations: 468 kB / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3936, allocations: 4 kB / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3936, allocations: 0 / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3936, allocations: 0 / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.3951, allocations: 0.9669 MB / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3951, allocations: 0 / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.3953, allocations: 51.95 kB / 1.108 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.3956, allocations: 86.45 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3956, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3956, allocations: 4 kB / 1.108 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3956, allocations: 4.094 kB / 1.108 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.3964, allocations: 0.5513 MB / 1.109 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3966, allocations: 136.8 kB / 1.109 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.3966, allocations: 8 kB / 1.109 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3968, allocations: 19.97 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.3969, allocations: 27.91 kB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3969, allocations: 4 kB / 1.109 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002156/0.3972, allocations: 239.1 kB / 1.109 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3972, allocations: 0 / 1.109 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004061/0.3976, allocations: 88 kB / 1.109 GB, free: 10.6 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.3977, allocations: 112.2 kB / 1.109 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008727/0.3986, allocations: 0.6471 MB / 1.11 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3986, allocations: 0 / 1.11 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.3992, allocations: 433.7 kB / 1.111 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.4, allocations: 122.5 kB / 1.111 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4011, allocations: 0.73 MB / 1.111 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.4017, allocations: 0.8234 MB / 1.112 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.4019, allocations: 83.34 kB / 1.112 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.402, allocations: 27.44 kB / 1.112 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.402, allocations: 0 / 1.112 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of Templates: time 0.01129/0.4133, allocations: 4.749 MB / 1.117 GB, free: 2.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches