Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009514/0.0009514, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001268/0.001268, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.405/2.405, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.615e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004982/0.005008, allocations: 3.123 MB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.006512, allocations: 1.146 MB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.006663, allocations: 27.75 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.007129, allocations: 123.1 kB / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.007462, allocations: 246.5 kB / 0.8432 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.007746, allocations: 207.5 kB / 0.8434 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.008217, allocations: 0.6205 MB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.008519, allocations: 250.5 kB / 0.8442 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.008875, allocations: 347.1 kB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.009139, allocations: 219.3 kB / 0.8448 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.009175, allocations: 24 kB / 0.8448 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.009319, allocations: 95.8 kB / 0.8449 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.009409, allocations: 119.6 kB / 0.845 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.009511, allocations: 143.6 kB / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.009844, allocations: 362.6 kB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.009848, allocations: 4 kB / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.074e-06/0.00985, allocations: 0 / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.009857, allocations: 0 / 0.8455 GB, free: 7.082 MB / 0.8073 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.0006384/0.0105, allocations: 0.6119 MB / 0.8461 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01053, allocations: 8.625 kB / 0.8461 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.01098, allocations: 136.6 kB / 0.8462 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.01134, allocations: 341.3 kB / 0.8465 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.01135, allocations: 24.97 kB / 0.8466 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.01139, allocations: 32.38 kB / 0.8466 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.01177, allocations: 489.8 kB / 0.847 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01178, allocations: 7.953 kB / 0.8471 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.0118, allocations: 12 kB / 0.8471 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.01185, allocations: 44.62 kB / 0.8471 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.01201, allocations: 144.2 kB / 0.8472 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01335, allocations: 2.357 MB / 0.8496 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.01364, allocations: 209.2 kB / 0.8497 GB, free: 2.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.01371, allocations: 52.84 kB / 0.8498 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.01373, allocations: 7.984 kB / 0.8498 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.01375, allocations: 34.56 kB / 0.8498 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.01375, allocations: 0 / 0.8498 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0006721/0.01442, allocations: 370.3 kB / 0.8502 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.01445, allocations: 59.64 kB / 0.8503 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.01461, allocations: 315.2 kB / 0.8506 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01462, allocations: 33.7 kB / 0.8506 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.01472, allocations: 228.6 kB / 0.8508 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.01476, allocations: 103.1 kB / 0.8509 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01483, allocations: 74.11 kB / 0.851 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.01493, allocations: 354.6 kB / 0.8513 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.01498, allocations: 44.97 kB / 0.8514 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01509, allocations: 183.2 kB / 0.8515 GB, free: 484 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01529, allocations: 281.1 kB / 0.8518 GB, free: 136 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0153, allocations: 0 / 0.8518 GB, free: 136 kB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003289/0.01562, allocations: 320.3 kB / 0.8521 GB, free: 15.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01564, allocations: 8 kB / 0.8521 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01564, allocations: 4 kB / 0.8521 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.01579, allocations: 67.58 kB / 0.8522 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01597, allocations: 83.83 kB / 0.8523 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.01598, allocations: 15.98 kB / 0.8523 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.01608, allocations: 12 kB / 0.8523 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01609, allocations: 16 kB / 0.8523 GB, free: 15.59 MB / 0.823 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.492e-05/0.01619, allocations: 140.5 kB / 0.8524 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.01623, allocations: 35.89 kB / 0.8525 GB, free: 15.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.01651, allocations: 224.7 kB / 0.8527 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01651, allocations: 4 kB / 0.8527 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01651, allocations: 7.938 kB / 0.8527 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01652, allocations: 0 / 0.8527 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.01701, allocations: 0.5232 MB / 0.8532 GB, free: 14.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01702, allocations: 4 kB / 0.8532 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.01713, allocations: 43.92 kB / 0.8532 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.01723, allocations: 59 kB / 0.8533 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01724, allocations: 8 kB / 0.8533 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01724, allocations: 3.938 kB / 0.8533 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01725, allocations: 8.094 kB / 0.8533 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.01751, allocations: 369.8 kB / 0.8537 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.01757, allocations: 51.69 kB / 0.8537 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.01759, allocations: 8 kB / 0.8537 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.01768, allocations: 8 kB / 0.8537 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.01773, allocations: 19.95 kB / 0.8538 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01774, allocations: 12 kB / 0.8538 GB, free: 13.95 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.01782, allocations: 120.7 kB / 0.8539 GB, free: 13.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01782, allocations: 0 / 0.8539 GB, free: 13.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002266/0.01805, allocations: 88 kB / 0.854 GB, free: 13.74 MB / 0.823 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.0001027/0.01815, allocations: 88.36 kB / 0.8541 GB, free: 13.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.01843, allocations: 211.2 kB / 0.8543 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.01844, allocations: 4.375 kB / 0.8543 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.01855, allocations: 112.9 kB / 0.8544 GB, free: 13.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.01894, allocations: 131.4 kB / 0.8545 GB, free: 13.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.01987, allocations: 0.6739 MB / 0.8552 GB, free: 12.46 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.01995, allocations: 117.6 kB / 0.8553 GB, free: 12.33 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.02007, allocations: 43.34 kB / 0.8553 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.02025, allocations: 141.3 kB / 0.8554 GB, free: 12.15 MB / 0.823 GB Notification: Performance of SimCode: time 9.42e-07/0.02025, allocations: 0 / 0.8554 GB, free: 12.15 MB / 0.823 GB Notification: Performance of Templates: time 0.00691/0.02716, allocations: 5.11 MB / 0.8604 GB, free: 7.18 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.284323762636632]