Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001095/0.001095, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001585/0.001585, allocations: 161 kB / 24.87 MB, free: 8.867 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.9698/0.9698, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.881/1.881, allocations: 377.8 MB / 0.6247 GB, free: 8.398 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8128 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.492e-05, allocations: 7.25 kB / 0.8128 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003559/0.003584, allocations: 3.228 MB / 0.8159 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005521, allocations: 1.187 MB / 0.8171 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.005757, allocations: 27.75 kB / 0.8171 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.006259, allocations: 133.2 kB / 0.8172 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.006715, allocations: 284.1 kB / 0.8175 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.007132, allocations: 230.8 kB / 0.8177 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.007911, allocations: 0.6984 MB / 0.8184 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.00832, allocations: 230.1 kB / 0.8186 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005175/0.008837, allocations: 374.9 kB / 0.819 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.009226, allocations: 256.4 kB / 0.8192 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.00927, allocations: 32.72 kB / 0.8193 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.009457, allocations: 95.78 kB / 0.8194 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.009581, allocations: 152 kB / 0.8195 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.009706, allocations: 155.6 kB / 0.8196 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.01019, allocations: 403.9 kB / 0.82 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01019, allocations: 0 / 0.82 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01019, allocations: 0 / 0.82 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.0102, allocations: 0 / 0.82 GB, free: 8.848 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007495/0.01095, allocations: 0.7857 MB / 0.8208 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01099, allocations: 8.031 kB / 0.8208 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.01168, allocations: 217.3 kB / 0.821 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.01213, allocations: 385.1 kB / 0.8214 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.01215, allocations: 25.38 kB / 0.8214 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.0122, allocations: 36.36 kB / 0.8214 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.01265, allocations: 0.5863 MB / 0.822 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.01266, allocations: 5.344 kB / 0.822 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.01269, allocations: 16.36 kB / 0.822 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.01275, allocations: 59.84 kB / 0.8221 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.01299, allocations: 200.7 kB / 0.8223 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.01528, allocations: 4.163 MB / 0.8263 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.01603, allocations: 426.7 kB / 0.8268 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.0161, allocations: 82.09 kB / 0.8268 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01612, allocations: 4 kB / 0.8268 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.01615, allocations: 37.39 kB / 0.8269 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.01615, allocations: 0 / 0.8269 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0009129/0.01707, allocations: 483.6 kB / 0.8273 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.01711, allocations: 110.8 kB / 0.8274 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01735, allocations: 426.2 kB / 0.8278 GB, free: 400 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.01737, allocations: 29.7 kB / 0.8279 GB, free: 364 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.01751, allocations: 338.8 kB / 0.8282 GB, free: 16 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.0176, allocations: 127.9 kB / 0.8283 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.0177, allocations: 107.9 kB / 0.8284 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01784, allocations: 0.5323 MB / 0.8289 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.01792, allocations: 57.27 kB / 0.829 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.01814, allocations: 357 kB / 0.8293 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.01847, allocations: 459.1 kB / 0.8298 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01847, allocations: 4 kB / 0.8298 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007109/0.01918, allocations: 476.4 kB / 0.8302 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.0192, allocations: 8 kB / 0.8302 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01921, allocations: 8 kB / 0.8302 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.01942, allocations: 82.98 kB / 0.8303 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.01962, allocations: 103.8 kB / 0.8304 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.02193, allocations: 5.181 MB / 0.8355 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.0221, allocations: 16 kB / 0.8355 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.02212, allocations: 23.98 kB / 0.8355 GB, free: 7.879 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001374/0.02226, allocations: 196.5 kB / 0.8357 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.02234, allocations: 55.72 kB / 0.8358 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.02271, allocations: 315.4 kB / 0.8361 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02271, allocations: 4 kB / 0.8361 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.02272, allocations: 4 kB / 0.8361 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.02272, allocations: 0 / 0.8361 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.02399, allocations: 0.9808 MB / 0.837 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.024, allocations: 4.031 kB / 0.837 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.02411, allocations: 55.92 kB / 0.8371 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.02426, allocations: 78.94 kB / 0.8372 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.02428, allocations: 8 kB / 0.8372 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.02625, allocations: 5.168 MB / 0.8422 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02626, allocations: 4 kB / 0.8422 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.02674, allocations: 0.7492 MB / 0.843 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.02684, allocations: 75.59 kB / 0.843 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.02686, allocations: 8 kB / 0.843 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.02701, allocations: 8.125 kB / 0.843 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.02706, allocations: 43.83 kB / 0.8431 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.02708, allocations: 12 kB / 0.8431 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001361/0.02721, allocations: 259 kB / 0.8433 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02721, allocations: 0 / 0.8433 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004613/0.02768, allocations: 120 kB / 0.8435 GB, free: 15.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001182/0.02779, allocations: 115.2 kB / 0.8436 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.02852, allocations: 0.7614 MB / 0.8443 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.02852, allocations: 128 / 0.8443 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.02886, allocations: 0.6181 MB / 0.8449 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.02942, allocations: 138.4 kB / 0.845 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.03049, allocations: 0.8535 MB / 0.8459 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.03059, allocations: 145.7 kB / 0.846 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.03073, allocations: 52.41 kB / 0.8461 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.03092, allocations: 178.1 kB / 0.8462 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of SimCode: time 7.12e-07/0.03092, allocations: 0 / 0.8462 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of Templates: time 0.008728/0.03965, allocations: 6.447 MB / 0.8525 GB, free: 5.848 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_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.220285552088171]