Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001237/0.001237, allocations: 80.3 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.001373/0.001373, allocations: 168.2 kB / 24.86 MB, free: 8.879 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.9375/0.9375, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.851/1.851, allocations: 359 MB / 0.6063 GB, free: 10.93 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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.421e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004663/0.004687, allocations: 3.238 MB / 0.7915 GB, free: 8.996 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.006995, allocations: 1.18 MB / 0.7926 GB, free: 7.816 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.007305, allocations: 31.69 kB / 0.7926 GB, free: 7.785 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.00787, allocations: 131.1 kB / 0.7928 GB, free: 7.656 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0006564/0.008526, allocations: 278.5 kB / 0.793 GB, free: 7.387 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.00904, allocations: 228.2 kB / 0.7933 GB, free: 7.164 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0009604/0.01, allocations: 0.7039 MB / 0.7939 GB, free: 6.461 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.01043, allocations: 230.1 kB / 0.7942 GB, free: 6.23 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.01106, allocations: 371 kB / 0.7945 GB, free: 5.867 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.01153, allocations: 260.4 kB / 0.7948 GB, free: 5.613 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.01158, allocations: 33.59 kB / 0.7948 GB, free: 5.582 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.01182, allocations: 95.78 kB / 0.7949 GB, free: 5.488 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.01197, allocations: 147.5 kB / 0.795 GB, free: 5.344 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01214, allocations: 155.6 kB / 0.7952 GB, free: 5.191 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.01271, allocations: 402.5 kB / 0.7956 GB, free: 4.797 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01271, allocations: 1.906 kB / 0.7956 GB, free: 4.797 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01271, allocations: 3.938 kB / 0.7956 GB, free: 4.793 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.01272, allocations: 0 / 0.7956 GB, free: 4.793 MB / 0.7449 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.0009416/0.01366, allocations: 0.7811 MB / 0.7963 GB, free: 3.977 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.0137, allocations: 8.031 kB / 0.7963 GB, free: 3.969 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.01464, allocations: 216.9 kB / 0.7965 GB, free: 3.758 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.01519, allocations: 396.9 kB / 0.7969 GB, free: 3.352 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01522, allocations: 21.38 kB / 0.7969 GB, free: 3.328 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.01528, allocations: 38.11 kB / 0.797 GB, free: 3.293 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.01586, allocations: 0.5831 MB / 0.7975 GB, free: 2.574 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.01588, allocations: 4.188 kB / 0.7976 GB, free: 2.57 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.01592, allocations: 16.36 kB / 0.7976 GB, free: 2.555 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.651e-05/0.01599, allocations: 59.89 kB / 0.7976 GB, free: 2.496 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.01631, allocations: 209.6 kB / 0.7978 GB, free: 2.297 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.01895, allocations: 4.166 MB / 0.8019 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.01995, allocations: 421.1 kB / 0.8023 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.02005, allocations: 70.97 kB / 0.8024 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.02007, allocations: 7.938 kB / 0.8024 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.0201, allocations: 41.39 kB / 0.8024 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 2.956e-06/0.02011, allocations: 0 / 0.8024 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001203/0.02131, allocations: 478.3 kB / 0.8029 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.02136, allocations: 114.8 kB / 0.803 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.02168, allocations: 418.9 kB / 0.8034 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.0217, allocations: 29.7 kB / 0.8034 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.02191, allocations: 343.3 kB / 0.8037 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.022, allocations: 121.6 kB / 0.8038 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.02213, allocations: 111.8 kB / 0.804 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.02232, allocations: 0.5273 MB / 0.8045 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.02242, allocations: 61.25 kB / 0.8045 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.02268, allocations: 357 kB / 0.8049 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.02311, allocations: 462.6 kB / 0.8053 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02312, allocations: 1.312 kB / 0.8053 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006862/0.0238, allocations: 482.9 kB / 0.8058 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.02383, allocations: 8 kB / 0.8058 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.02384, allocations: 8.938 kB / 0.8058 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.02412, allocations: 82.98 kB / 0.8059 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.02441, allocations: 104 kB / 0.806 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.0276, allocations: 5.171 MB / 0.811 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.0278, allocations: 16 kB / 0.811 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.02782, allocations: 23.98 kB / 0.8111 GB, free: 3.832 MB / 0.7605 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.0001479/0.02797, allocations: 192.5 kB / 0.8112 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.02806, allocations: 59.72 kB / 0.8113 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.02845, allocations: 315.4 kB / 0.8116 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02846, allocations: 4 kB / 0.8116 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.02846, allocations: 4 kB / 0.8116 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02846, allocations: 0 / 0.8116 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.02935, allocations: 0.9821 MB / 0.8126 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02936, allocations: 0 / 0.8126 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.02946, allocations: 51.91 kB / 0.8126 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.02962, allocations: 82.94 kB / 0.8127 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.02964, allocations: 8 kB / 0.8127 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.03187, allocations: 5.183 MB / 0.8178 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.03187, allocations: 7.984 kB / 0.8178 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.03262, allocations: 0.7388 MB / 0.8185 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.03271, allocations: 67.62 kB / 0.8186 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.03273, allocations: 11.98 kB / 0.8186 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.03287, allocations: 12.12 kB / 0.8186 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.03291, allocations: 39.83 kB / 0.8186 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.03293, allocations: 8 kB / 0.8186 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001293/0.03305, allocations: 259 kB / 0.8189 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/0.03305, allocations: 0 / 0.8189 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004535/0.03351, allocations: 120 kB / 0.819 GB, free: 11.17 MB / 0.7761 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.0001226/0.03363, allocations: 114.1 kB / 0.8191 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.03423, allocations: 0.7689 MB / 0.8198 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03423, allocations: 4.062 kB / 0.8198 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.03456, allocations: 0.6219 MB / 0.8205 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.03512, allocations: 137.4 kB / 0.8206 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.0362, allocations: 0.8394 MB / 0.8214 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.0363, allocations: 145.7 kB / 0.8215 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.03642, allocations: 52.41 kB / 0.8216 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.03661, allocations: 178.1 kB / 0.8218 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.03661, allocations: 0 / 0.8218 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of Templates: time 0.008517/0.04512, allocations: 6.462 MB / 0.8281 GB, free: 1.785 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.229950728826225]