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.0009697/0.0009697, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00111/0.00111, allocations: 166 kB / 24.87 MB, free: 9.273 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.937/0.937, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.312e-06/1.312e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.404e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003305/0.003319, allocations: 3.071 MB / 0.8158 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004698, allocations: 1.12 MB / 0.8169 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.004863, allocations: 24.72 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.00535, allocations: 128 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.00567, allocations: 249.3 kB / 0.8173 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.005927, allocations: 214 kB / 0.8175 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.006376, allocations: 0.6283 MB / 0.8181 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.006649, allocations: 234.5 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.006964, allocations: 341 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.007206, allocations: 220.9 kB / 0.8188 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.007242, allocations: 28 kB / 0.8189 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.007355, allocations: 91.8 kB / 0.8189 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.007444, allocations: 129 kB / 0.8191 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.007542, allocations: 139.6 kB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.007862, allocations: 362.6 kB / 0.8195 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007864, allocations: 0 / 0.8195 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007865, allocations: 0.5312 kB / 0.8195 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.007869, allocations: 4.625 kB / 0.8196 GB, free: 10.51 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.0006378/0.008507, allocations: 0.7428 MB / 0.8203 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.008534, allocations: 8.625 kB / 0.8203 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.008927, allocations: 144.3 kB / 0.8204 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.009273, allocations: 356.8 kB / 0.8208 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.00929, allocations: 21.03 kB / 0.8208 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.009327, allocations: 37.25 kB / 0.8208 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.009963, allocations: 0.5246 MB / 0.8213 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.009977, allocations: 9.281 kB / 0.8213 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.01, allocations: 12 kB / 0.8214 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.01004, allocations: 40.64 kB / 0.8214 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01021, allocations: 163.3 kB / 0.8215 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.01168, allocations: 3.461 MB / 0.8249 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01192, allocations: 175.6 kB / 0.8251 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.01199, allocations: 64.14 kB / 0.8252 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.01201, allocations: 4.562 kB / 0.8252 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.01202, allocations: 37.39 kB / 0.8252 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.01203, allocations: 0.5625 kB / 0.8252 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0006636/0.01269, allocations: 415.4 kB / 0.8256 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01272, allocations: 56.34 kB / 0.8256 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.0129, allocations: 370.4 kB / 0.826 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.01292, allocations: 34.33 kB / 0.826 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.01304, allocations: 294.7 kB / 0.8263 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.0131, allocations: 108.2 kB / 0.8264 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.01318, allocations: 83.77 kB / 0.8265 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01331, allocations: 0.5279 MB / 0.827 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.01337, allocations: 48.95 kB / 0.8271 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01351, allocations: 256 kB / 0.8273 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.01373, allocations: 337.6 kB / 0.8276 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01373, allocations: 0 / 0.8276 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000367/0.0141, allocations: 388.4 kB / 0.828 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.01411, allocations: 8 kB / 0.828 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01412, allocations: 4 kB / 0.828 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.01425, allocations: 70.95 kB / 0.8281 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.01465, allocations: 79.83 kB / 0.8282 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01466, allocations: 11.94 kB / 0.8282 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01476, allocations: 16.72 kB / 0.8282 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01478, allocations: 13.66 kB / 0.8282 GB, free: 1.074 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 9.221e-05/0.01487, allocations: 180.4 kB / 0.8284 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.01492, allocations: 48.27 kB / 0.8284 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.0152, allocations: 254.5 kB / 0.8287 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01521, allocations: 11.88 kB / 0.8287 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01521, allocations: 4 kB / 0.8287 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01521, allocations: 7.984 kB / 0.8287 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.01574, allocations: 0.605 MB / 0.8293 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01575, allocations: 0 / 0.8293 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.01584, allocations: 39.97 kB / 0.8293 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.01595, allocations: 62.95 kB / 0.8294 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01596, allocations: 8 kB / 0.8294 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01596, allocations: 4.094 kB / 0.8294 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01596, allocations: 0 / 0.8294 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.01625, allocations: 435.9 kB / 0.8298 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.01632, allocations: 51.67 kB / 0.8298 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.01634, allocations: 11.98 kB / 0.8299 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.01643, allocations: 8 kB / 0.8299 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.01647, allocations: 27.89 kB / 0.8299 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01648, allocations: 4 kB / 0.8299 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.01657, allocations: 235 kB / 0.8301 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01657, allocations: 0 / 0.8301 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002379/0.01681, allocations: 92 kB / 0.8302 GB, free: 14.88 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 6.833e-05/0.01688, allocations: 99.25 kB / 0.8303 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.01713, allocations: 230.2 kB / 0.8305 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01714, allocations: 4.062 kB / 0.8305 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01725, allocations: 128.2 kB / 0.8306 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.01764, allocations: 137 kB / 0.8308 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.01836, allocations: 0.6623 MB / 0.8314 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.01842, allocations: 113.6 kB / 0.8315 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.01853, allocations: 47.33 kB / 0.8316 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.0187, allocations: 166.1 kB / 0.8317 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.0187, allocations: 3.938 kB / 0.8317 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.006585/0.02528, allocations: 5.275 MB / 0.8369 GB, free: 8.09 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.103035101201385]