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.0009394/0.0009394, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009233/0.0009233, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9314/0.9314, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.586 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.813e-06/1.813e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.904e-05, allocations: 6.109 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003647/0.003676, allocations: 3.288 MB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.00513, allocations: 1.188 MB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.005278, allocations: 27.69 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.005739, allocations: 143.5 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.006101, allocations: 282.4 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.006383, allocations: 220.2 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.006859, allocations: 0.7067 MB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.007153, allocations: 231.4 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.00748, allocations: 371 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.007727, allocations: 240.8 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.007765, allocations: 28 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.0079, allocations: 99.78 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.008014, allocations: 159.5 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.008132, allocations: 157.4 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.008488, allocations: 414.5 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00849, allocations: 0 / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008491, allocations: 0 / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.008497, allocations: 0 / 0.8189 GB, free: 10.24 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.0006853/0.009182, allocations: 0.7773 MB / 0.8196 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.009216, allocations: 9.406 kB / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.009978, allocations: 264.1 kB / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.01038, allocations: 397.5 kB / 0.8203 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.0104, allocations: 34.02 kB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.01045, allocations: 33.03 kB / 0.8203 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.01094, allocations: 0.6137 MB / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.01095, allocations: 5.094 kB / 0.8209 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.01098, allocations: 20.36 kB / 0.8209 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.01104, allocations: 55.84 kB / 0.821 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.01134, allocations: 243.2 kB / 0.8212 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.01322, allocations: 4.259 MB / 0.8254 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.01407, allocations: 0.5095 MB / 0.8259 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.01417, allocations: 82.97 kB / 0.826 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.01419, allocations: 8 kB / 0.826 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.01422, allocations: 37.39 kB / 0.826 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.492e-06/0.01422, allocations: 0.5 kB / 0.826 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.001028/0.01525, allocations: 0.7012 MB / 0.8267 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.01528, allocations: 106.8 kB / 0.8268 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01552, allocations: 420.6 kB / 0.8272 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.01554, allocations: 29.7 kB / 0.8272 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.0157, allocations: 342.8 kB / 0.8276 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.01576, allocations: 119 kB / 0.8277 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.01584, allocations: 99.95 kB / 0.8278 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01596, allocations: 0.5274 MB / 0.8283 GB, free: 100 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01606, allocations: 84.48 kB / 0.8284 GB, free: 20 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.01628, allocations: 365 kB / 0.8287 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.01669, allocations: 498.2 kB / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01669, allocations: 4 kB / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005126/0.01721, allocations: 0.5022 MB / 0.8297 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01722, allocations: 8 kB / 0.8297 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.01723, allocations: 8.156 kB / 0.8297 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.01745, allocations: 87.72 kB / 0.8298 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01765, allocations: 119.8 kB / 0.8299 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.01982, allocations: 5.257 MB / 0.835 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.01997, allocations: 35.95 kB / 0.8351 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.01999, allocations: 24 kB / 0.8351 GB, free: 8.496 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.000114/0.0201, allocations: 192.6 kB / 0.8353 GB, free: 8.297 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.02017, allocations: 59.72 kB / 0.8353 GB, free: 8.238 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.02055, allocations: 328.1 kB / 0.8356 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02055, allocations: 4 kB / 0.8356 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02055, allocations: 4 kB / 0.8356 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.02056, allocations: 3.984 kB / 0.8356 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008547/0.02141, allocations: 1.082 MB / 0.8367 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.02142, allocations: 8 kB / 0.8367 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.02153, allocations: 55.91 kB / 0.8368 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.02168, allocations: 79 kB / 0.8368 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.02169, allocations: 11.94 kB / 0.8368 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.02363, allocations: 5.244 MB / 0.842 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02363, allocations: 0 / 0.842 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.02409, allocations: 0.7689 MB / 0.8427 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.02417, allocations: 75.62 kB / 0.8428 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.0242, allocations: 16 kB / 0.8428 GB, free: 0 / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.02435, allocations: 28.14 kB / 0.8428 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.02439, allocations: 35.83 kB / 0.8429 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.0244, allocations: 8 kB / 0.8429 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001504/0.02455, allocations: 275.1 kB / 0.8431 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02455, allocations: 0 / 0.8431 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003864/0.02494, allocations: 128 kB / 0.8433 GB, free: 15.54 MB / 0.8073 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.0001017/0.02504, allocations: 107.1 kB / 0.8434 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.02567, allocations: 0.7995 MB / 0.8441 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.02567, allocations: 4.312 kB / 0.8441 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.02601, allocations: 0.6298 MB / 0.8448 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.02666, allocations: 121.2 kB / 0.8449 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.0277, allocations: 0.8614 MB / 0.8457 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.02779, allocations: 141.7 kB / 0.8459 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.02793, allocations: 88.34 kB / 0.8459 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.02799, allocations: 32.5 kB / 0.846 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/0.02799, allocations: 0 / 0.846 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.007382/0.03537, allocations: 5.956 MB / 0.8518 GB, free: 6.734 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.361059498041868]