Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009611/0.0009611, allocations: 80.75 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.0009819/0.0009819, allocations: 181 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 0.9317/0.9317, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.258/2.258, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] 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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.161e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.002876/0.002888, allocations: 3.239 MB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004357, allocations: 1.216 MB / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.004492, allocations: 27.75 kB / 0.843 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.004888, allocations: 135 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005235, allocations: 278.2 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.005496, allocations: 227.5 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000615/0.006111, allocations: 0.6984 MB / 0.8442 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.006355, allocations: 254 kB / 0.8445 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.00667, allocations: 378.9 kB / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.006926, allocations: 243.3 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.006959, allocations: 28 kB / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.007078, allocations: 91.86 kB / 0.8452 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.007176, allocations: 155.5 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.00728, allocations: 155.5 kB / 0.8455 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.00759, allocations: 406.4 kB / 0.8459 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.007591, allocations: 0 / 0.8459 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.007592, allocations: 0 / 0.8459 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.007595, allocations: 0 / 0.8459 GB, free: 6.648 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0005459/0.008141, allocations: 0.6471 MB / 0.8465 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.008169, allocations: 12.03 kB / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.008752, allocations: 200.5 kB / 0.8467 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.0091, allocations: 369.1 kB / 0.8471 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.009117, allocations: 25.36 kB / 0.8471 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.009159, allocations: 44.34 kB / 0.8471 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.009529, allocations: 0.5339 MB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.009544, allocations: 8.125 kB / 0.8477 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.009569, allocations: 16.36 kB / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.009624, allocations: 59.83 kB / 0.8477 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.009807, allocations: 179.1 kB / 0.8479 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.01129, allocations: 2.816 MB / 0.8507 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.01195, allocations: 0.5153 MB / 0.8512 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.01201, allocations: 54.56 kB / 0.8512 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.01203, allocations: 7.938 kB / 0.8512 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01205, allocations: 42.5 kB / 0.8513 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.01205, allocations: 4 kB / 0.8513 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0006988/0.01275, allocations: 428.6 kB / 0.8517 GB, free: 380 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.01279, allocations: 110.8 kB / 0.8518 GB, free: 244 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01297, allocations: 355.1 kB / 0.8521 GB, free: 15.88 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01299, allocations: 33.7 kB / 0.8521 GB, free: 15.84 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.01308, allocations: 268.6 kB / 0.8524 GB, free: 15.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.01314, allocations: 122.9 kB / 0.8525 GB, free: 15.45 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.01322, allocations: 90.27 kB / 0.8526 GB, free: 15.36 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.01329, allocations: 358.7 kB / 0.8529 GB, free: 15 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.01335, allocations: 49.3 kB / 0.853 GB, free: 14.95 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01349, allocations: 260.2 kB / 0.8532 GB, free: 14.61 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.01374, allocations: 372 kB / 0.8536 GB, free: 14.15 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01374, allocations: 4 kB / 0.8536 GB, free: 14.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0003617/0.0141, allocations: 396.4 kB / 0.854 GB, free: 13.74 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01411, allocations: 8 kB / 0.854 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01412, allocations: 8 kB / 0.854 GB, free: 13.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.0143, allocations: 78.94 kB / 0.8541 GB, free: 13.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.01447, allocations: 107.8 kB / 0.8542 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.01604, allocations: 3.586 MB / 0.8577 GB, free: 9.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01616, allocations: 16 kB / 0.8577 GB, free: 9.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.01618, allocations: 20 kB / 0.8577 GB, free: 9.613 MB / 0.823 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 9.562e-05/0.01628, allocations: 156.5 kB / 0.8579 GB, free: 9.449 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.01633, allocations: 35.97 kB / 0.8579 GB, free: 9.414 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.01661, allocations: 271.5 kB / 0.8582 GB, free: 9.129 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01661, allocations: 11.92 kB / 0.8582 GB, free: 9.117 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01661, allocations: 4 kB / 0.8582 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01662, allocations: 0 / 0.8582 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.01726, allocations: 0.8742 MB / 0.859 GB, free: 8.172 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01727, allocations: 8.031 kB / 0.859 GB, free: 8.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.01736, allocations: 55.91 kB / 0.8591 GB, free: 8.109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.01749, allocations: 71.02 kB / 0.8592 GB, free: 8.027 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.0175, allocations: 8 kB / 0.8592 GB, free: 8.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.01879, allocations: 3.589 MB / 0.8627 GB, free: 4.137 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01879, allocations: 11.88 kB / 0.8627 GB, free: 4.125 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01913, allocations: 0.6628 MB / 0.8633 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.0192, allocations: 55.66 kB / 0.8634 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.01923, allocations: 16 kB / 0.8634 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01935, allocations: 8.125 kB / 0.8634 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.01939, allocations: 47.81 kB / 0.8634 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.0194, allocations: 8 kB / 0.8635 GB, free: 3.266 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.01948, allocations: 144.7 kB / 0.8636 GB, free: 3.129 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-08/0.01948, allocations: 0 / 0.8636 GB, free: 3.129 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000334/0.01982, allocations: 120 kB / 0.8637 GB, free: 3.012 MB / 0.823 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 7.169e-05/0.01989, allocations: 92.34 kB / 0.8638 GB, free: 2.914 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005647/0.02045, allocations: 0.5816 MB / 0.8644 GB, free: 2.297 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.02046, allocations: 8.125 kB / 0.8644 GB, free: 2.289 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.02071, allocations: 453.6 kB / 0.8648 GB, free: 1.805 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.02115, allocations: 130.3 kB / 0.8649 GB, free: 1.676 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.022, allocations: 0.8451 MB / 0.8658 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.02208, allocations: 137.6 kB / 0.8659 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.02219, allocations: 68.36 kB / 0.8659 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.02235, allocations: 149.3 kB / 0.8661 GB, free: 404 kB / 0.823 GB Notification: Performance of SimCode: time 8.02e-07/0.02236, allocations: 0 / 0.8661 GB, free: 404 kB / 0.823 GB Notification: Performance of Templates: time 0.007439/0.02979, allocations: 6.342 MB / 0.8723 GB, free: 10.18 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.131159682292491]