Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001207/0.001207, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 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 0.9775/0.9775, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.354e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003701/0.003725, allocations: 3.125 MB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.005556, allocations: 1.131 MB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.005767, allocations: 29.69 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.006278, allocations: 115.2 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.006694, allocations: 249 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.007089, allocations: 213.2 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.00767, allocations: 0.6335 MB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.008052, allocations: 226.6 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.008517, allocations: 341.1 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.008809, allocations: 203.4 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.00885, allocations: 29.16 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.00903, allocations: 99.78 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.009153, allocations: 131.6 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.009263, allocations: 132.5 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.009672, allocations: 374.6 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.009677, allocations: 0 / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.009678, allocations: 0.8438 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.009685, allocations: 0 / 0.8184 GB, free: 10.76 MB / 0.7761 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.0007802/0.01047, allocations: 0.7469 MB / 0.8191 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.0105, allocations: 9.219 kB / 0.8191 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.01109, allocations: 192.3 kB / 0.8193 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.01155, allocations: 361.2 kB / 0.8196 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.01157, allocations: 25.52 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.01162, allocations: 28.38 kB / 0.8197 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.01212, allocations: 0.5533 MB / 0.8202 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01214, allocations: 7.938 kB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01216, allocations: 12 kB / 0.8202 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.01221, allocations: 41.5 kB / 0.8203 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.01249, allocations: 197.7 kB / 0.8205 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.01456, allocations: 3.543 MB / 0.8239 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.01491, allocations: 201.8 kB / 0.8241 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.015, allocations: 71.66 kB / 0.8242 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.01503, allocations: 4 kB / 0.8242 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01505, allocations: 41.27 kB / 0.8242 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.01505, allocations: 0 / 0.8242 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000944/0.01599, allocations: 0.4959 MB / 0.8247 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.01602, allocations: 51.64 kB / 0.8248 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.01627, allocations: 379.6 kB / 0.8251 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01629, allocations: 29.7 kB / 0.8251 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01642, allocations: 302.8 kB / 0.8254 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.01647, allocations: 100.2 kB / 0.8255 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.01655, allocations: 79.81 kB / 0.8256 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01668, allocations: 0.5157 MB / 0.8261 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.01677, allocations: 66.02 kB / 0.8262 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.01695, allocations: 270.5 kB / 0.8264 GB, free: 2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.01726, allocations: 369.3 kB / 0.8268 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.01727, allocations: 4.5 kB / 0.8268 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004771/0.01774, allocations: 411.8 kB / 0.8272 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01776, allocations: 8.625 kB / 0.8272 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.01777, allocations: 7.984 kB / 0.8272 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.01794, allocations: 75.02 kB / 0.8273 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.01813, allocations: 87.77 kB / 0.8273 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01814, allocations: 7.984 kB / 0.8274 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01827, allocations: 27.98 kB / 0.8274 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.01829, allocations: 20 kB / 0.8274 GB, free: 0.8906 MB / 0.7761 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.0001191/0.01841, allocations: 184.4 kB / 0.8276 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.01847, allocations: 51.77 kB / 0.8276 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.01917, allocations: 280.6 kB / 0.8279 GB, free: 364 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01918, allocations: 0 / 0.8279 GB, free: 364 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01918, allocations: 4 kB / 0.8279 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01919, allocations: 3.984 kB / 0.8279 GB, free: 356 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.01987, allocations: 0.671 MB / 0.8286 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01988, allocations: 4 kB / 0.8286 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.02, allocations: 51.89 kB / 0.8286 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.02012, allocations: 67.11 kB / 0.8287 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.02013, allocations: 4 kB / 0.8287 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.02014, allocations: 4 kB / 0.8287 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.02014, allocations: 3.938 kB / 0.8287 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.02051, allocations: 468 kB / 0.8291 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.02059, allocations: 55.73 kB / 0.8292 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.02062, allocations: 4 kB / 0.8292 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.02072, allocations: 19.98 kB / 0.8292 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.02078, allocations: 23.95 kB / 0.8292 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.02079, allocations: 8 kB / 0.8292 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001348/0.02092, allocations: 247.1 kB / 0.8295 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02092, allocations: 0 / 0.8295 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002687/0.02119, allocations: 84 kB / 0.8296 GB, free: 14.53 MB / 0.7917 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.0001052/0.02129, allocations: 111.1 kB / 0.8297 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.02165, allocations: 257.6 kB / 0.8299 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02165, allocations: 0 / 0.8299 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.02179, allocations: 128.2 kB / 0.83 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.02222, allocations: 134.5 kB / 0.8302 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.02313, allocations: 0.6662 MB / 0.8308 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.124e-05/0.0232, allocations: 113.6 kB / 0.8309 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.02335, allocations: 63.3 kB / 0.831 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.02341, allocations: 32.5 kB / 0.831 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of SimCode: time 7.51e-07/0.02341, allocations: 3.938 kB / 0.831 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.007246/0.03066, allocations: 4.813 MB / 0.8357 GB, free: 8.289 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.346826076041907]