Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9346, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006998/0.9416, allocations: 3.857 MB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.9453, allocations: 1.853 MB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.9457, allocations: 25.53 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.9468, allocations: 271.1 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.9478, allocations: 315.8 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.9486, allocations: 257.9 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.9496, allocations: 0.6051 MB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.9501, allocations: 193.8 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.9507, allocations: 239.4 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.9512, allocations: 244.7 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.9513, allocations: 26.56 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.9519, allocations: 284.2 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.9521, allocations: 130 kB / 1.227 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.9524, allocations: 209.4 kB / 1.227 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.9535, allocations: 0.6015 MB / 1.227 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9535, allocations: 1.125 kB / 1.227 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9535, allocations: 3.938 kB / 1.227 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.9535, allocations: 0 / 1.227 GB, free: 12.99 MB / 0.9356 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.001727/0.9553, allocations: 0.7471 MB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9553, allocations: 8.5 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.9564, allocations: 139 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.9572, allocations: 411.1 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.9573, allocations: 28.86 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.9573, allocations: 26.97 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.9584, allocations: 0.5563 MB / 1.229 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9584, allocations: 6.625 kB / 1.229 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.9585, allocations: 11.94 kB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/0.9586, allocations: 42.53 kB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.9595, allocations: 412.8 kB / 1.23 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.9633, allocations: 3.33 MB / 1.233 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.964, allocations: 313.9 kB / 1.233 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.9643, allocations: 164.8 kB / 1.233 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.9644, allocations: 0 / 1.233 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.9644, allocations: 38.56 kB / 1.233 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.9644, allocations: 0 / 1.233 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.002322/0.9667, allocations: 1.064 MB / 1.234 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.9668, allocations: 59.56 kB / 1.234 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.9672, allocations: 345.6 kB / 1.235 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.9672, allocations: 29.7 kB / 1.235 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.9674, allocations: 260 kB / 1.235 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.9675, allocations: 95.17 kB / 1.235 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.9677, allocations: 78.08 kB / 1.235 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.9678, allocations: 346.8 kB / 1.236 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.9682, allocations: 148.8 kB / 1.236 GB, free: 5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.9686, allocations: 290.5 kB / 1.236 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.9693, allocations: 483.3 kB / 1.236 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9693, allocations: 0 / 1.236 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001058/0.9703, allocations: 0.5623 MB / 1.237 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9704, allocations: 4 kB / 1.237 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.9704, allocations: 19.97 kB / 1.237 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.9707, allocations: 78.52 kB / 1.237 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.9711, allocations: 95.81 kB / 1.237 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9711, allocations: 4 kB / 1.237 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.9714, allocations: 35.91 kB / 1.237 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.9714, allocations: 15.94 kB / 1.237 GB, free: 3.285 MB / 0.9356 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.0002458/0.9717, allocations: 185.6 kB / 1.237 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.9717, allocations: 39.77 kB / 1.237 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.9727, allocations: 456.1 kB / 1.238 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9727, allocations: 7.984 kB / 1.238 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9727, allocations: 4 kB / 1.238 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9727, allocations: 4 kB / 1.238 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.9744, allocations: 0.9617 MB / 1.239 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9744, allocations: 96 / 1.239 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.9746, allocations: 55.89 kB / 1.239 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.9749, allocations: 78.52 kB / 1.239 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.9749, allocations: 4 kB / 1.239 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.9749, allocations: 7.984 kB / 1.239 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.9749, allocations: 7.938 kB / 1.239 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.9758, allocations: 0.5474 MB / 1.24 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.9761, allocations: 144.8 kB / 1.24 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.9761, allocations: 4 kB / 1.24 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.9764, allocations: 27.97 kB / 1.24 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.9764, allocations: 31.83 kB / 1.24 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.9765, allocations: 8 kB / 1.24 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002677/0.9767, allocations: 231.2 kB / 1.24 GB, free: 356 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9767, allocations: 0 / 1.24 GB, free: 356 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004618/0.9772, allocations: 88 kB / 1.24 GB, free: 268 kB / 0.9356 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.0001706/0.9774, allocations: 115.2 kB / 1.24 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.9784, allocations: 0.6041 MB / 1.241 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9784, allocations: 128 / 1.241 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.979, allocations: 432 kB / 1.241 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.9797, allocations: 123.9 kB / 1.241 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.981, allocations: 0.7425 MB / 1.242 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.9817, allocations: 0.8195 MB / 1.243 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.9819, allocations: 83.34 kB / 1.243 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.982, allocations: 31.44 kB / 1.243 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.982, allocations: 0 / 1.243 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.01181/0.9938, allocations: 4.951 MB / 1.248 GB, free: 8.234 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.485961264930665]