Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009914/0.0009914, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001015/0.001015, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9033/0.9033, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.84/1.84, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.002e-05, allocations: 2.906 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01148/0.0115, allocations: 11.17 MB / 0.8224 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005549/0.01705, allocations: 5.88 MB / 0.8282 GB, free: 1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.0175, allocations: 71.31 kB / 0.8283 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.01972, allocations: 1.775 MB / 0.83 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.02122, allocations: 1.213 MB / 0.8312 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.02228, allocations: 0.8265 MB / 0.832 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.02364, allocations: 2.181 MB / 0.8341 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008506/0.02449, allocations: 1.025 MB / 0.8351 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.02566, allocations: 1.218 MB / 0.8363 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.02638, allocations: 0.8257 MB / 0.8371 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.02649, allocations: 112.6 kB / 0.8372 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.02752, allocations: 1.075 MB / 0.8383 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.02785, allocations: 0.578 MB / 0.8388 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.02823, allocations: 0.5377 MB / 0.8394 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.02964, allocations: 1.826 MB / 0.8411 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02964, allocations: 0 / 0.8411 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02964, allocations: 0 / 0.8411 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.02966, allocations: 4 kB / 0.8411 GB, free: 3.691 MB / 0.7917 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.001653/0.03131, allocations: 1.941 MB / 0.843 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.03134, allocations: 8.031 kB / 0.843 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.03436, allocations: 0.9743 MB / 0.844 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.03533, allocations: 0.9702 MB / 0.8449 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.03538, allocations: 94.83 kB / 0.845 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.03551, allocations: 136.3 kB / 0.8452 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.03703, allocations: 1.835 MB / 0.847 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.03706, allocations: 12.08 kB / 0.847 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.03716, allocations: 72.28 kB / 0.847 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.03729, allocations: 166.2 kB / 0.8472 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.03841, allocations: 0.829 MB / 0.848 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006349/0.04476, allocations: 11.45 MB / 0.8592 GB, free: 408 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.04689, allocations: 1.576 MB / 0.8607 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.0472, allocations: 222.6 kB / 0.8609 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.0473, allocations: 25 kB / 0.861 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.04734, allocations: 50.38 kB / 0.861 GB, free: 14.51 MB / 0.823 GB Notification: Performance of pre-optimization done (n=103): time 3.316e-06/0.04734, allocations: 0 / 0.861 GB, free: 14.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.002621/0.04996, allocations: 1.766 MB / 0.8627 GB, free: 12.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.05001, allocations: 68.39 kB / 0.8628 GB, free: 12.64 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.05063, allocations: 0.8559 MB / 0.8636 GB, free: 11.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.05068, allocations: 45.7 kB / 0.8637 GB, free: 11.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/0.05142, allocations: 0.8027 MB / 0.8645 GB, free: 10.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.05163, allocations: 396.7 kB / 0.8648 GB, free: 10.51 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.05189, allocations: 293 kB / 0.8651 GB, free: 10.21 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.052, allocations: 480.7 kB / 0.8656 GB, free: 9.742 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.05239, allocations: 275.8 kB / 0.8658 GB, free: 9.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.05306, allocations: 0.9698 MB / 0.8668 GB, free: 8.203 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.05417, allocations: 1.344 MB / 0.8681 GB, free: 6.559 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.05418, allocations: 8 kB / 0.8681 GB, free: 6.551 MB / 0.823 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001635/0.05581, allocations: 1.459 MB / 0.8695 GB, free: 5.051 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.05584, allocations: 12 kB / 0.8695 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.05585, allocations: 16 kB / 0.8696 GB, free: 5.023 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.05633, allocations: 237.9 kB / 0.8698 GB, free: 4.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.057, allocations: 371.4 kB / 0.8701 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.06266, allocations: 14 MB / 0.8838 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.06319, allocations: 127.8 kB / 0.8839 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.06325, allocations: 67.98 kB / 0.884 GB, free: 5.227 MB / 0.8386 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.0002552/0.06351, allocations: 260 kB / 0.8842 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.06365, allocations: 171.2 kB / 0.8844 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.06512, allocations: 0.983 MB / 0.8854 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.06512, allocations: 12 kB / 0.8854 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.06513, allocations: 4 kB / 0.8854 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.06513, allocations: 7.969 kB / 0.8854 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.06738, allocations: 2.135 MB / 0.8875 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.06739, allocations: 4 kB / 0.8875 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.06781, allocations: 227.6 kB / 0.8877 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.06819, allocations: 218 kB / 0.8879 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.06823, allocations: 28 kB / 0.8879 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.07338, allocations: 13.99 MB / 0.9016 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.07339, allocations: 7.938 kB / 0.9016 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.07457, allocations: 1.263 MB / 0.9028 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.07483, allocations: 223.2 kB / 0.903 GB, free: 348 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.07492, allocations: 28 kB / 0.9031 GB, free: 320 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.07526, allocations: 87.88 kB / 0.9032 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.07539, allocations: 100.7 kB / 0.9033 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.07543, allocations: 39.98 kB / 0.9033 GB, free: 92 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003804/0.07581, allocations: 0.5061 MB / 0.9038 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.07581, allocations: 4 kB / 0.9038 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008291/0.07664, allocations: 396 kB / 0.9042 GB, free: 15.18 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.0001809/0.07682, allocations: 146.9 kB / 0.9043 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.07874, allocations: 2.24 MB / 0.9065 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.07874, allocations: 0.875 kB / 0.9065 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.0797, allocations: 1.753 MB / 0.9082 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.08059, allocations: 349.6 kB / 0.9085 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.08328, allocations: 2.529 MB / 0.911 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.08353, allocations: 365.2 kB / 0.9114 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005007/0.08403, allocations: 287 kB / 0.9116 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.08421, allocations: 92.48 kB / 0.9117 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.08422, allocations: 0 / 0.9117 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of Templates: time 0.02032/0.1045, allocations: 17.48 MB / 0.9288 GB, free: 5.867 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.372953324811533]