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.001367/0.001367, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001533/0.001533, allocations: 177 kB / 23.36 MB, free: 1.129 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.956/0.956, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.404/2.404, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.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.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.274e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005569/0.005582, allocations: 6.744 MB / 0.8452 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.008838, allocations: 2.513 MB / 0.8477 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.009197, allocations: 67.38 kB / 0.8477 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.009833, allocations: 337.3 kB / 0.8481 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.0109, allocations: 0.8581 MB / 0.8489 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.01157, allocations: 0.5653 MB / 0.8494 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.01307, allocations: 2.197 MB / 0.8516 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008409/0.01391, allocations: 1.08 MB / 0.8526 GB, free: 15.74 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009428/0.01485, allocations: 1.216 MB / 0.8538 GB, free: 14.52 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.0156, allocations: 0.8375 MB / 0.8546 GB, free: 13.68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.01571, allocations: 119.9 kB / 0.8548 GB, free: 13.57 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.01603, allocations: 239.7 kB / 0.855 GB, free: 13.33 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.01635, allocations: 0.5686 MB / 0.8555 GB, free: 12.76 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.01671, allocations: 0.526 MB / 0.8561 GB, free: 12.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.0176, allocations: 1.288 MB / 0.8573 GB, free: 10.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.0176, allocations: 0 / 0.8573 GB, free: 10.94 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01761, allocations: 4 kB / 0.8573 GB, free: 10.94 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.01762, allocations: 0 / 0.8573 GB, free: 10.94 MB / 0.823 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.001374/0.01899, allocations: 1.652 MB / 0.8589 GB, free: 9.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.01902, allocations: 8.625 kB / 0.8589 GB, free: 9.242 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.02121, allocations: 0.7257 MB / 0.8597 GB, free: 8.516 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/0.0221, allocations: 0.8753 MB / 0.8605 GB, free: 7.609 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.02215, allocations: 98.83 kB / 0.8606 GB, free: 7.512 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.02227, allocations: 132.3 kB / 0.8607 GB, free: 7.383 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.02346, allocations: 1.584 MB / 0.8623 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.02349, allocations: 12.12 kB / 0.8623 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.02357, allocations: 64.22 kB / 0.8623 GB, free: 5.449 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.0237, allocations: 170.2 kB / 0.8625 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.02442, allocations: 0.5934 MB / 0.8631 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.02924, allocations: 7.808 MB / 0.8707 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.03096, allocations: 1.352 MB / 0.872 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.03115, allocations: 151.8 kB / 0.8722 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.878e-05/0.03123, allocations: 32.98 kB / 0.8722 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.03126, allocations: 43.56 kB / 0.8723 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.404e-06/0.03126, allocations: 0 / 0.8723 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.00183/0.03309, allocations: 1.254 MB / 0.8735 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.03313, allocations: 64.41 kB / 0.8735 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.03366, allocations: 0.7886 MB / 0.8743 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.03371, allocations: 45.7 kB / 0.8744 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.03401, allocations: 0.6652 MB / 0.875 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.03422, allocations: 392.6 kB / 0.8754 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.03449, allocations: 271.3 kB / 0.8756 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.03457, allocations: 309.1 kB / 0.8759 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.03479, allocations: 183.8 kB / 0.8761 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.03527, allocations: 0.6682 MB / 0.8768 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/0.03609, allocations: 1.006 MB / 0.8777 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.0361, allocations: 4 kB / 0.8777 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00113/0.03723, allocations: 1.059 MB / 0.8788 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.03725, allocations: 12 kB / 0.8788 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.03726, allocations: 19.94 kB / 0.8788 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.03776, allocations: 225.3 kB / 0.879 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.0384, allocations: 327.5 kB / 0.8793 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.04269, allocations: 9.586 MB / 0.8887 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.04309, allocations: 47.94 kB / 0.8887 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.04316, allocations: 55.98 kB / 0.8888 GB, free: 8.695 MB / 0.8542 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.0002416/0.0434, allocations: 216.3 kB / 0.889 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.04352, allocations: 111.9 kB / 0.8891 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.04442, allocations: 0.7827 MB / 0.8899 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.04442, allocations: 12 kB / 0.8899 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.04443, allocations: 4 kB / 0.8899 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.04444, allocations: 11.91 kB / 0.8899 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.04614, allocations: 1.568 MB / 0.8914 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.04614, allocations: 4 kB / 0.8914 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.04656, allocations: 175.8 kB / 0.8916 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.0469, allocations: 205.7 kB / 0.8918 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.04694, allocations: 31.98 kB / 0.8918 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.05086, allocations: 9.569 MB / 0.9012 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.05087, allocations: 15.92 kB / 0.9012 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.05171, allocations: 0.9439 MB / 0.9021 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.05191, allocations: 175.1 kB / 0.9023 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.05199, allocations: 28 kB / 0.9023 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.05226, allocations: 32 kB / 0.9023 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.05238, allocations: 96.66 kB / 0.9024 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.05241, allocations: 31.98 kB / 0.9025 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002364/0.05265, allocations: 368.4 kB / 0.9028 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3e-08/0.05265, allocations: 0 / 0.9028 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007251/0.05338, allocations: 391.9 kB / 0.9032 GB, free: 8.844 MB / 0.8698 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.000162/0.05354, allocations: 134.8 kB / 0.9033 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.05476, allocations: 1.635 MB / 0.9049 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/0.05478, allocations: 17.81 kB / 0.9049 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.05554, allocations: 1.23 MB / 0.9061 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.05633, allocations: 364.3 kB / 0.9065 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.05874, allocations: 2.462 MB / 0.9089 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.05897, allocations: 357.3 kB / 0.9092 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003856/0.05936, allocations: 183.2 kB / 0.9094 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.05986, allocations: 325 kB / 0.9097 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of SimCode: time 7.82e-07/0.05987, allocations: 0 / 0.9097 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.02044/0.0803, allocations: 18.6 MB / 0.9279 GB, free: 15.54 MB / 0.9011 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 -s gbode -gbm=radauIIA3 -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.725937303155661]