Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.00098/0.00098, allocations: 83.59 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.0009353/0.0009353, allocations: 165 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.8865/0.8865, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.919/1.919, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.453e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003286/0.0033, allocations: 3.291 MB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.004782, allocations: 1.192 MB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.004927, allocations: 28.62 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.005387, allocations: 139 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.005751, allocations: 281.3 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.006064, allocations: 226.4 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.006583, allocations: 0.6984 MB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.006891, allocations: 238 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.007264, allocations: 364.6 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.007547, allocations: 251.3 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.007586, allocations: 32.97 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.007727, allocations: 107.7 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007833, allocations: 144.3 kB / 0.8183 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.00795, allocations: 159.5 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.008315, allocations: 395.4 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.008318, allocations: 0 / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.008318, allocations: 1.781 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.008324, allocations: 0 / 0.8188 GB, free: 10.23 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006868/0.009011, allocations: 0.7845 MB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.009045, allocations: 11.97 kB / 0.8196 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.009724, allocations: 244.8 kB / 0.8199 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.01012, allocations: 400.9 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.01014, allocations: 21.38 kB / 0.8203 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.01019, allocations: 37.3 kB / 0.8203 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.0107, allocations: 0.6098 MB / 0.8209 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01071, allocations: 8.125 kB / 0.8209 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.01074, allocations: 13.72 kB / 0.8209 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.0108, allocations: 59.91 kB / 0.821 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.01111, allocations: 246 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.01313, allocations: 4.261 MB / 0.8254 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/0.01397, allocations: 0.5213 MB / 0.8259 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.01407, allocations: 79.56 kB / 0.8259 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.01409, allocations: 5.5 kB / 0.826 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.01411, allocations: 49.31 kB / 0.826 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.01411, allocations: 0 / 0.826 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.001044/0.01516, allocations: 0.6853 MB / 0.8267 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.0152, allocations: 112.5 kB / 0.8268 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.01545, allocations: 426.4 kB / 0.8272 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01547, allocations: 33.7 kB / 0.8272 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01561, allocations: 330.8 kB / 0.8275 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.01567, allocations: 123 kB / 0.8276 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.01575, allocations: 115.4 kB / 0.8278 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01589, allocations: 0.5196 MB / 0.8283 GB, free: 96 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.01599, allocations: 81.27 kB / 0.8283 GB, free: 16 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.01623, allocations: 373 kB / 0.8287 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.0166, allocations: 490.1 kB / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.0166, allocations: 0 / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005338/0.01713, allocations: 0.5065 MB / 0.8297 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01715, allocations: 8 kB / 0.8297 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.01716, allocations: 8 kB / 0.8297 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.01739, allocations: 79.84 kB / 0.8298 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.0176, allocations: 119.8 kB / 0.8299 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.01972, allocations: 5.257 MB / 0.835 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.01987, allocations: 31.97 kB / 0.835 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0199, allocations: 24 kB / 0.8351 GB, free: 8.504 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.02001, allocations: 192.6 kB / 0.8352 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.02009, allocations: 59.7 kB / 0.8353 GB, free: 8.246 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.02046, allocations: 324.1 kB / 0.8356 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.02046, allocations: 4 kB / 0.8356 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02046, allocations: 0 / 0.8356 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.02047, allocations: 7.984 kB / 0.8356 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.02136, allocations: 1.082 MB / 0.8367 GB, free: 6.723 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.02136, allocations: 11.94 kB / 0.8367 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.02148, allocations: 59.89 kB / 0.8367 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.02163, allocations: 71.02 kB / 0.8368 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.02164, allocations: 12 kB / 0.8368 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.02362, allocations: 5.248 MB / 0.8419 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02363, allocations: 4 kB / 0.8419 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.02411, allocations: 0.7689 MB / 0.8427 GB, free: 100 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.02419, allocations: 75.58 kB / 0.8428 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.02422, allocations: 16 kB / 0.8428 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.02438, allocations: 24.17 kB / 0.8428 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.02443, allocations: 35.83 kB / 0.8428 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.02444, allocations: 19.98 kB / 0.8429 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001432/0.02458, allocations: 271.1 kB / 0.8431 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02458, allocations: 0 / 0.8431 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003878/0.02497, allocations: 124 kB / 0.8432 GB, free: 15.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.171e-05/0.02506, allocations: 107.2 kB / 0.8433 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.02568, allocations: 0.7958 MB / 0.8441 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02568, allocations: 4.062 kB / 0.8441 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.02603, allocations: 0.6259 MB / 0.8447 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.02654, allocations: 133.2 kB / 0.8449 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.02754, allocations: 0.8537 MB / 0.8457 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.02763, allocations: 141.7 kB / 0.8458 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.02778, allocations: 84.34 kB / 0.8459 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.02785, allocations: 36.5 kB / 0.8459 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of SimCode: time 1.032e-06/0.02785, allocations: 0 / 0.8459 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.007801/0.03565, allocations: 6.228 MB / 0.852 GB, free: 6.477 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.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.106177795678377]