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.0009252/0.0009252, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.000924/0.000924, allocations: 181 kB / 24.09 MB, free: 420 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.9161/0.9161, 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 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.312e-06/1.312e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.957e-05, allocations: 8.297 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003096/0.003115, allocations: 3.249 MB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004831, allocations: 1.177 MB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.005023, allocations: 23.75 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.005454, allocations: 139.1 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.005877, allocations: 277.1 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.00626, allocations: 238.1 kB / 0.817 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.006891, allocations: 0.7023 MB / 0.8177 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.00728, allocations: 222.1 kB / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.007692, allocations: 376.4 kB / 0.8182 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.008004, allocations: 249 kB / 0.8185 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.008042, allocations: 28 kB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.008199, allocations: 103.7 kB / 0.8186 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.008302, allocations: 155.5 kB / 0.8187 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008411, allocations: 157.7 kB / 0.8189 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.008771, allocations: 402.5 kB / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.008773, allocations: 0 / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.008774, allocations: 0 / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.008779, allocations: 0 / 0.8193 GB, free: 10.01 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006583/0.009438, allocations: 0.7868 MB / 0.82 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.009478, allocations: 12.03 kB / 0.8201 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006257/0.0101, allocations: 208.2 kB / 0.8202 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.01051, allocations: 385.8 kB / 0.8206 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.01053, allocations: 29.36 kB / 0.8206 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.01058, allocations: 40.3 kB / 0.8207 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.011, allocations: 0.5824 MB / 0.8213 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01101, allocations: 4.125 kB / 0.8213 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.01104, allocations: 16.38 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.01109, allocations: 55.89 kB / 0.8213 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.01129, allocations: 208.8 kB / 0.8215 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.01341, allocations: 4.161 MB / 0.8256 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.01406, allocations: 422.9 kB / 0.826 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.01413, allocations: 70.97 kB / 0.8261 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.01414, allocations: 4 kB / 0.8261 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.01417, allocations: 50.44 kB / 0.8261 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.01417, allocations: 0 / 0.8261 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.0007622/0.01493, allocations: 481.6 kB / 0.8266 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.01497, allocations: 111.6 kB / 0.8267 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.01518, allocations: 418.2 kB / 0.8271 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.0152, allocations: 31.67 kB / 0.8271 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01533, allocations: 346.7 kB / 0.8274 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.01539, allocations: 123 kB / 0.8276 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.01548, allocations: 107.9 kB / 0.8277 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01561, allocations: 0.5312 MB / 0.8282 GB, free: 408 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.01567, allocations: 62.59 kB / 0.8282 GB, free: 348 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.01587, allocations: 349.1 kB / 0.8286 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.01619, allocations: 461.9 kB / 0.829 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01619, allocations: 4 kB / 0.829 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000466/0.01666, allocations: 479.8 kB / 0.8295 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01668, allocations: 10.66 kB / 0.8295 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01669, allocations: 8.156 kB / 0.8295 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.01687, allocations: 83.53 kB / 0.8296 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.01705, allocations: 99.83 kB / 0.8297 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.01912, allocations: 5.181 MB / 0.8347 GB, free: 9.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01926, allocations: 16 kB / 0.8347 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01928, allocations: 20 kB / 0.8348 GB, free: 9.043 MB / 0.7917 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.0001176/0.0194, allocations: 212.5 kB / 0.835 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.01946, allocations: 55.72 kB / 0.835 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.01977, allocations: 307.5 kB / 0.8353 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01977, allocations: 7.984 kB / 0.8353 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01977, allocations: 0 / 0.8353 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01978, allocations: 0 / 0.8353 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.02051, allocations: 0.9819 MB / 0.8363 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.02051, allocations: 4 kB / 0.8363 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.02061, allocations: 51.91 kB / 0.8363 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.02074, allocations: 83.17 kB / 0.8364 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.02076, allocations: 8 kB / 0.8364 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.02253, allocations: 5.179 MB / 0.8415 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02253, allocations: 4 kB / 0.8415 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.02295, allocations: 0.7419 MB / 0.8422 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.02303, allocations: 75.61 kB / 0.8423 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.02305, allocations: 11.98 kB / 0.8423 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.02318, allocations: 8 kB / 0.8423 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.02322, allocations: 39.83 kB / 0.8423 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.02324, allocations: 12 kB / 0.8423 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001102/0.02335, allocations: 259 kB / 0.8426 GB, free: 492 kB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02335, allocations: 0 / 0.8426 GB, free: 492 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003743/0.02372, allocations: 124 kB / 0.8427 GB, free: 368 kB / 0.7917 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 9.893e-05/0.02382, allocations: 111.2 kB / 0.8428 GB, free: 248 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.02433, allocations: 0.7676 MB / 0.8436 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02433, allocations: 0 / 0.8436 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.02462, allocations: 0.6077 MB / 0.8442 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.02512, allocations: 136.7 kB / 0.8443 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009255/0.02605, allocations: 0.8473 MB / 0.8451 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.588e-05/0.02614, allocations: 141.7 kB / 0.8452 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.02627, allocations: 56.41 kB / 0.8453 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.02649, allocations: 174.1 kB / 0.8455 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.02649, allocations: 0 / 0.8455 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of Templates: time 0.007572/0.03407, allocations: 6.331 MB / 0.8516 GB, free: 7.109 MB / 0.8073 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.024650261737406]