Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009107/0.0009107, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009785/0.0009785, allocations: 169 kB / 23.02 MB, free: 1.551 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.9054/0.9054, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.093/2.093, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.892e-05, allocations: 10.25 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005651/0.00567, allocations: 6.831 MB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.008408, allocations: 2.44 MB / 0.8872 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.008712, allocations: 76.28 kB / 0.8873 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.009332, allocations: 333.4 kB / 0.8876 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.01021, allocations: 0.866 MB / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.01079, allocations: 0.5576 MB / 0.889 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.01211, allocations: 2.216 MB / 0.8912 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.01296, allocations: 1.014 MB / 0.8922 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008823/0.01384, allocations: 1.212 MB / 0.8933 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.01452, allocations: 0.8257 MB / 0.8942 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.01464, allocations: 116 kB / 0.8943 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.01495, allocations: 251.6 kB / 0.8945 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.01529, allocations: 0.5686 MB / 0.8951 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.01567, allocations: 0.5376 MB / 0.8956 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.01662, allocations: 1.304 MB / 0.8969 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01662, allocations: 0 / 0.8969 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01662, allocations: 0 / 0.8969 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.01663, allocations: 0 / 0.8969 GB, free: 3.137 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001549/0.01818, allocations: 1.817 MB / 0.8986 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.01822, allocations: 12.03 kB / 0.8986 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.02068, allocations: 0.9705 MB / 0.8996 GB, free: 292 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.02171, allocations: 0.9664 MB / 0.9005 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.02177, allocations: 90.89 kB / 0.9006 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.02191, allocations: 136.3 kB / 0.9008 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.02349, allocations: 1.838 MB / 0.9025 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.02352, allocations: 16.06 kB / 0.9026 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.02361, allocations: 60.34 kB / 0.9026 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.02378, allocations: 166.2 kB / 0.9028 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.02499, allocations: 0.8369 MB / 0.9036 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/0.03139, allocations: 11.46 MB / 0.9148 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.0338, allocations: 1.563 MB / 0.9163 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.0341, allocations: 214.6 kB / 0.9165 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.03418, allocations: 32.92 kB / 0.9166 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.03421, allocations: 46.39 kB / 0.9166 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 2.926e-06/0.03421, allocations: 3.984 kB / 0.9166 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002525/0.03674, allocations: 1.77 MB / 0.9183 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.03677, allocations: 64.41 kB / 0.9184 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.03737, allocations: 0.8675 MB / 0.9192 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.03741, allocations: 41.7 kB / 0.9193 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.03774, allocations: 0.795 MB / 0.9201 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.03794, allocations: 408.5 kB / 0.9204 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.03818, allocations: 289.1 kB / 0.9207 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.03828, allocations: 480.7 kB / 0.9212 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.03865, allocations: 275.8 kB / 0.9214 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.03935, allocations: 0.9659 MB / 0.9224 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.04085, allocations: 1.341 MB / 0.9237 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.04086, allocations: 8 kB / 0.9237 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001624/0.04248, allocations: 1.459 MB / 0.9251 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.0425, allocations: 16.25 kB / 0.9251 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.04252, allocations: 16 kB / 0.9252 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.04299, allocations: 229.3 kB / 0.9254 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.04367, allocations: 371.4 kB / 0.9257 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.04917, allocations: 14 MB / 0.9394 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.04967, allocations: 127.8 kB / 0.9395 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.04974, allocations: 75.97 kB / 0.9396 GB, free: 4.789 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002434/0.04999, allocations: 260.1 kB / 0.9398 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.05013, allocations: 163.2 kB / 0.94 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.05132, allocations: 0.9908 MB / 0.941 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.05132, allocations: 12 kB / 0.941 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.05133, allocations: 8 kB / 0.941 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.05134, allocations: 7.969 kB / 0.941 GB, free: 3.301 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.05365, allocations: 2.139 MB / 0.9431 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.05365, allocations: 4 kB / 0.9431 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.05409, allocations: 223.6 kB / 0.9433 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.05471, allocations: 209.4 kB / 0.9435 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.05475, allocations: 28 kB / 0.9435 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/0.05972, allocations: 13.99 MB / 0.9572 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.05973, allocations: 4 kB / 0.9572 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.06115, allocations: 1.267 MB / 0.9584 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.06144, allocations: 223.2 kB / 0.9586 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.06152, allocations: 35.94 kB / 0.9587 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.06186, allocations: 87.88 kB / 0.9588 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.06197, allocations: 100.5 kB / 0.9589 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.06201, allocations: 36 kB / 0.9589 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003853/0.0624, allocations: 0.5139 MB / 0.9594 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0624, allocations: 4 kB / 0.9594 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008037/0.0632, allocations: 392 kB / 0.9598 GB, free: 14.73 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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 0.000179/0.06338, allocations: 139 kB / 0.9599 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.06504, allocations: 2.244 MB / 0.9621 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.06504, allocations: 0 / 0.9621 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.06603, allocations: 1.742 MB / 0.9638 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/0.06691, allocations: 353.9 kB / 0.9641 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.07071, allocations: 2.534 MB / 0.9666 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.07098, allocations: 365.3 kB / 0.967 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006171/0.0716, allocations: 291 kB / 0.9672 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.07181, allocations: 92.48 kB / 0.9673 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/0.07181, allocations: 0 / 0.9673 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of Templates: time 0.02157/0.09338, allocations: 17.46 MB / 0.9844 GB, free: 5.434 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_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.766263430006802]