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.0008792/0.0008792, 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.0008744/0.0008744, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.8919/0.8919, allocations: 177.2 MB / 203.4 MB, free: 5.629 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 1.958/1.958, allocations: 429.5 MB / 0.6733 GB, free: 4 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 2.454e-06/2.454e-06, allocations: 4 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.472e-05, allocations: 7.594 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006324/0.006348, allocations: 6.83 MB / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.01036, allocations: 2.448 MB / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.01115, allocations: 68.78 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.0123, allocations: 337.3 kB / 0.8876 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.01395, allocations: 0.8624 MB / 0.8885 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.01497, allocations: 0.5591 MB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.01707, allocations: 2.209 MB / 0.8912 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.01823, allocations: 1.022 MB / 0.8922 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.01966, allocations: 1.216 MB / 0.8934 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.02071, allocations: 0.8686 MB / 0.8942 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.02087, allocations: 116 kB / 0.8943 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.02145, allocations: 239.7 kB / 0.8946 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.02182, allocations: 0.5608 MB / 0.8951 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000453/0.02227, allocations: 0.5338 MB / 0.8956 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.02341, allocations: 1.288 MB / 0.8969 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.8e-06/0.02341, allocations: 0 / 0.8969 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.343e-06/0.02342, allocations: 0 / 0.8969 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.02345, allocations: 0 / 0.8969 GB, free: 3.086 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.001812/0.02526, allocations: 1.821 MB / 0.8987 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.02531, allocations: 8.031 kB / 0.8987 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.02764, allocations: 0.9159 MB / 0.8996 GB, free: 296 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.02874, allocations: 0.9483 MB / 0.9005 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.02879, allocations: 94.91 kB / 0.9006 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.02893, allocations: 128.3 kB / 0.9007 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.03073, allocations: 1.846 MB / 0.9025 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.03077, allocations: 12.08 kB / 0.9025 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.03087, allocations: 56.36 kB / 0.9026 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.03102, allocations: 170.2 kB / 0.9027 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.03227, allocations: 0.8329 MB / 0.9035 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007386/0.03966, allocations: 11.46 MB / 0.9147 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.04217, allocations: 1.574 MB / 0.9163 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.04256, allocations: 222.6 kB / 0.9165 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.0427, allocations: 28.98 kB / 0.9165 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.04275, allocations: 46.39 kB / 0.9166 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 5.26e-06/0.04275, allocations: 0 / 0.9166 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.003397/0.04615, allocations: 1.774 MB / 0.9183 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.04618, allocations: 64.41 kB / 0.9184 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.04688, allocations: 0.8597 MB / 0.9192 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.04693, allocations: 41.7 kB / 0.9192 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.04729, allocations: 0.799 MB / 0.92 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.04751, allocations: 404.6 kB / 0.9204 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.04778, allocations: 281.1 kB / 0.9207 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.04789, allocations: 488.7 kB / 0.9211 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.04825, allocations: 275.8 kB / 0.9214 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.04904, allocations: 0.962 MB / 0.9223 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.05018, allocations: 1.344 MB / 0.9237 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.05019, allocations: 4 kB / 0.9237 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001648/0.05184, allocations: 1.463 MB / 0.9251 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.05187, allocations: 12 kB / 0.9251 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.05188, allocations: 16 kB / 0.9251 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.0524, allocations: 237.8 kB / 0.9253 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.05311, allocations: 371.4 kB / 0.9257 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005521/0.05863, allocations: 14.01 MB / 0.9394 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.05929, allocations: 123.9 kB / 0.9395 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.05936, allocations: 71.98 kB / 0.9396 GB, free: 4.805 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.0002965/0.05966, allocations: 259.9 kB / 0.9398 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.0598, allocations: 167.2 kB / 0.94 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.061, allocations: 0.987 MB / 0.9409 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.06101, allocations: 15.98 kB / 0.9409 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.06101, allocations: 0 / 0.9409 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.06102, allocations: 7.984 kB / 0.941 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.06351, allocations: 2.135 MB / 0.943 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.06351, allocations: 8 kB / 0.943 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.06396, allocations: 219.6 kB / 0.9433 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.06436, allocations: 214 kB / 0.9435 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.0644, allocations: 28 kB / 0.9435 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.06973, allocations: 13.99 MB / 0.9571 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.06973, allocations: 8 kB / 0.9572 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.07108, allocations: 1.259 MB / 0.9584 GB, free: 144 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.07139, allocations: 223.1 kB / 0.9586 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.07147, allocations: 32.05 kB / 0.9586 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.07182, allocations: 91.88 kB / 0.9587 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.07197, allocations: 108.6 kB / 0.9588 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.072, allocations: 28 kB / 0.9588 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003844/0.07239, allocations: 0.5178 MB / 0.9594 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/0.07239, allocations: 0 / 0.9594 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008894/0.07328, allocations: 392 kB / 0.9597 GB, free: 14.75 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.0001901/0.07347, allocations: 142.9 kB / 0.9599 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.07523, allocations: 2.24 MB / 0.9621 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.07523, allocations: 4.875 kB / 0.9621 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.07637, allocations: 1.741 MB / 0.9638 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.07729, allocations: 352.3 kB / 0.9641 GB, free: 10 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.08015, allocations: 2.528 MB / 0.9666 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.08041, allocations: 361.3 kB / 0.9669 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005239/0.08093, allocations: 287 kB / 0.9672 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.08112, allocations: 96.47 kB / 0.9673 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of SimCode: time 1.343e-06/0.08113, allocations: 0 / 0.9673 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of Templates: time 0.02183/0.103, allocations: 18.29 MB / 0.9851 GB, free: 4.617 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.456261245068163]