Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009719/0.0009719, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009542/0.0009542, allocations: 169 kB / 24.28 MB, free: 276 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.9256/0.9256, allocations: 177.1 MB / 204.6 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.709/1.709, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.067e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009027/0.009048, allocations: 11.18 MB / 0.798 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006396/0.01544, allocations: 5.882 MB / 0.8038 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.01602, allocations: 71.38 kB / 0.8038 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.01808, allocations: 1.769 MB / 0.8056 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.01979, allocations: 1.208 MB / 0.8067 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.02101, allocations: 0.8269 MB / 0.8075 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.02249, allocations: 2.181 MB / 0.8097 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.02363, allocations: 1.027 MB / 0.8107 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.02459, allocations: 1.22 MB / 0.8119 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.02531, allocations: 0.8274 MB / 0.8127 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.02543, allocations: 116.5 kB / 0.8128 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.02662, allocations: 1.08 MB / 0.8138 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.02696, allocations: 0.5686 MB / 0.8144 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.02734, allocations: 0.5377 MB / 0.8149 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.02883, allocations: 1.826 MB / 0.8167 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.02884, allocations: 1.094 kB / 0.8167 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02884, allocations: 0 / 0.8167 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.02885, allocations: 0 / 0.8167 GB, free: 14.41 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001929/0.03078, allocations: 1.942 MB / 0.8186 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.03082, allocations: 12.03 kB / 0.8186 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.0336, allocations: 0.9743 MB / 0.8196 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009693/0.03457, allocations: 0.9702 MB / 0.8205 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.03463, allocations: 94.89 kB / 0.8206 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.03476, allocations: 128.3 kB / 0.8207 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.03628, allocations: 1.846 MB / 0.8225 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.03632, allocations: 8.125 kB / 0.8225 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.0364, allocations: 60.3 kB / 0.8226 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.03654, allocations: 170.2 kB / 0.8228 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.03767, allocations: 0.833 MB / 0.8236 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/0.04412, allocations: 11.46 MB / 0.8348 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.04628, allocations: 1.569 MB / 0.8363 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.04659, allocations: 218.5 kB / 0.8365 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.945e-05/0.04669, allocations: 24.98 kB / 0.8365 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.04672, allocations: 54.33 kB / 0.8366 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=103): time 2.385e-06/0.04672, allocations: 0 / 0.8366 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.00253/0.04925, allocations: 1.77 MB / 0.8383 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.04928, allocations: 68.34 kB / 0.8384 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.05017, allocations: 0.8559 MB / 0.8392 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.05022, allocations: 49.7 kB / 0.8393 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.05058, allocations: 0.8027 MB / 0.84 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.05079, allocations: 400.7 kB / 0.8404 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.05103, allocations: 289 kB / 0.8407 GB, free: 4.914 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.05113, allocations: 484.7 kB / 0.8412 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.05149, allocations: 271.8 kB / 0.8414 GB, free: 4.172 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.05216, allocations: 0.9698 MB / 0.8424 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.05329, allocations: 1.341 MB / 0.8437 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.0533, allocations: 4 kB / 0.8437 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00196/0.05526, allocations: 1.467 MB / 0.8451 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.05528, allocations: 12 kB / 0.8451 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.0553, allocations: 16 kB / 0.8451 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.05577, allocations: 233.5 kB / 0.8454 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.05642, allocations: 375.4 kB / 0.8457 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.06221, allocations: 13.98 MB / 0.8594 GB, free: 140 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.06275, allocations: 123.8 kB / 0.8595 GB, free: 16 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.06283, allocations: 76.2 kB / 0.8596 GB, free: 15.94 MB / 0.823 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.0002831/0.06311, allocations: 267.9 kB / 0.8598 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.06326, allocations: 159.2 kB / 0.86 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.06448, allocations: 0.9909 MB / 0.8609 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.06448, allocations: 12 kB / 0.8609 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.06448, allocations: 0 / 0.8609 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.06449, allocations: 7.984 kB / 0.861 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.06682, allocations: 2.135 MB / 0.863 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.06682, allocations: 8 kB / 0.8631 GB, free: 12.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.06725, allocations: 215.6 kB / 0.8633 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.06764, allocations: 217.7 kB / 0.8635 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.06768, allocations: 35.94 kB / 0.8635 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005595/0.07328, allocations: 13.99 MB / 0.8772 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.07328, allocations: 8 kB / 0.8772 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.07453, allocations: 1.263 MB / 0.8784 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.07481, allocations: 215.1 kB / 0.8786 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.07489, allocations: 31.98 kB / 0.8786 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.07523, allocations: 95.88 kB / 0.8787 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.07537, allocations: 104.6 kB / 0.8788 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.0754, allocations: 36.03 kB / 0.8789 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003925/0.07579, allocations: 0.5139 MB / 0.8794 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.07579, allocations: 0 / 0.8794 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001228/0.07702, allocations: 400 kB / 0.8797 GB, free: 9.879 MB / 0.8386 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.0001897/0.07721, allocations: 139 kB / 0.8799 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.07891, allocations: 2.244 MB / 0.8821 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.07891, allocations: 0 / 0.8821 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.08, allocations: 1.746 MB / 0.8838 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.08092, allocations: 359.2 kB / 0.8841 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.08392, allocations: 2.534 MB / 0.8866 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.08416, allocations: 365.2 kB / 0.8869 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004828/0.08464, allocations: 287 kB / 0.8872 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.08482, allocations: 92.48 kB / 0.8873 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of SimCode: time 9.51e-07/0.08482, allocations: 0 / 0.8873 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of Templates: time 0.01967/0.1045, allocations: 17.45 MB / 0.9043 GB, free: 0.5859 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.300755389034748]