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.0009184/0.0009184, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.0009172/0.0009172, allocations: 169 kB / 24.06 MB, free: 452 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.9145/0.9145, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.031/2.031, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.894e-06/1.894e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.975e-05, allocations: 3.156 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.00831/0.00833, allocations: 6.712 MB / 0.886 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.01291, allocations: 2.431 MB / 0.8883 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.01349, allocations: 68.25 kB / 0.8884 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.01435, allocations: 337.3 kB / 0.8887 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.01591, allocations: 0.859 MB / 0.8896 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.01696, allocations: 0.5653 MB / 0.8901 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.01923, allocations: 2.212 MB / 0.8923 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.02053, allocations: 1.018 MB / 0.8933 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.02212, allocations: 1.22 MB / 0.8945 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.0234, allocations: 0.8608 MB / 0.8953 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.02359, allocations: 120 kB / 0.8954 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.02405, allocations: 239.7 kB / 0.8956 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.02455, allocations: 0.5647 MB / 0.8962 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.02513, allocations: 0.5259 MB / 0.8967 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.02656, allocations: 1.292 MB / 0.898 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.02656, allocations: 0 / 0.898 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.11e-07/0.02657, allocations: 0 / 0.898 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.0266, allocations: 0 / 0.898 GB, free: 2.965 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.002399/0.029, allocations: 1.821 MB / 0.8997 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.02903, allocations: 8.031 kB / 0.8997 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.0323, allocations: 0.7639 MB / 0.9005 GB, free: 328 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.03383, allocations: 0.9092 MB / 0.9014 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.03391, allocations: 90.89 kB / 0.9015 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.0341, allocations: 140.3 kB / 0.9016 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.03628, allocations: 1.733 MB / 0.9033 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.03633, allocations: 16.02 kB / 0.9033 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.03646, allocations: 68.33 kB / 0.9034 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.03666, allocations: 170.2 kB / 0.9035 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.03814, allocations: 0.6752 MB / 0.9042 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008217/0.04636, allocations: 11.09 MB / 0.915 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.04888, allocations: 1.36 MB / 0.9164 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.04917, allocations: 174.6 kB / 0.9165 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.04927, allocations: 40.92 kB / 0.9166 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.0493, allocations: 42.39 kB / 0.9166 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 2.825e-06/0.0493, allocations: 0 / 0.9166 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002789/0.05209, allocations: 1.443 MB / 0.918 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.05213, allocations: 64.41 kB / 0.9181 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.05309, allocations: 0.8513 MB / 0.9189 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.05314, allocations: 41.7 kB / 0.9189 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.05356, allocations: 0.7988 MB / 0.9197 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.05384, allocations: 412.5 kB / 0.9201 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.05418, allocations: 293 kB / 0.9204 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.0543, allocations: 480.7 kB / 0.9209 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.05462, allocations: 207.8 kB / 0.921 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.05532, allocations: 0.911 MB / 0.9219 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.05651, allocations: 1.235 MB / 0.9231 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.05652, allocations: 12 kB / 0.9232 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001955/0.05848, allocations: 1.318 MB / 0.9244 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.0585, allocations: 15.94 kB / 0.9245 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.05852, allocations: 16 kB / 0.9245 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007011/0.05922, allocations: 225.6 kB / 0.9247 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.06008, allocations: 311.5 kB / 0.925 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.0669, allocations: 13.81 MB / 0.9385 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.0676, allocations: 51.97 kB / 0.9385 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.0677, allocations: 63.98 kB / 0.9386 GB, free: 6.867 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.0004603/0.06816, allocations: 256 kB / 0.9388 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.06838, allocations: 167.2 kB / 0.939 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.06993, allocations: 0.9049 MB / 0.9399 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.06994, allocations: 8 kB / 0.9399 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/0.06996, allocations: 4 kB / 0.9399 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.06997, allocations: 3.984 kB / 0.9399 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.07185, allocations: 1.853 MB / 0.9417 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.07186, allocations: 4 kB / 0.9417 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.07222, allocations: 167.7 kB / 0.9419 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.07263, allocations: 210 kB / 0.9421 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.07268, allocations: 32 kB / 0.9421 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/0.07757, allocations: 13.79 MB / 0.9556 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.07757, allocations: 4 kB / 0.9556 GB, free: 4.312 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.07858, allocations: 1.196 MB / 0.9567 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.07881, allocations: 199 kB / 0.9569 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.0789, allocations: 36.03 kB / 0.9569 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.07917, allocations: 24 kB / 0.957 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.07929, allocations: 96.72 kB / 0.9571 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.07933, allocations: 31.98 kB / 0.9571 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002745/0.0796, allocations: 486 kB / 0.9576 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.0796, allocations: 0 / 0.9576 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007462/0.08035, allocations: 396 kB / 0.9579 GB, free: 1.719 MB / 0.9167 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.0001496/0.0805, allocations: 143 kB / 0.9581 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.08199, allocations: 2.135 MB / 0.9602 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.08199, allocations: 0.9375 kB / 0.9602 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.08285, allocations: 1.687 MB / 0.9618 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.08371, allocations: 360 kB / 0.9621 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.08615, allocations: 2.503 MB / 0.9646 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.08639, allocations: 365.3 kB / 0.9649 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003801/0.08677, allocations: 179.2 kB / 0.9651 GB, free: 9.918 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.08726, allocations: 370 kB / 0.9655 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of SimCode: time 6.61e-07/0.08726, allocations: 0 / 0.9655 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of Templates: time 0.02199/0.1093, allocations: 18.99 MB / 0.984 GB, free: 6.938 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.650494916830212]