Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001015/0.001015, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001158/0.001158, allocations: 169 kB / 24.28 MB, free: 280 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.945/0.945, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.866/1.866, allocations: 377.8 MB / 0.6239 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.085e-05, allocations: 5.594 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008891/0.008922, allocations: 6.838 MB / 0.8182 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.01434, allocations: 3.108 MB / 0.8212 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.01489, allocations: 39.62 kB / 0.8213 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.01711, allocations: 0.9724 MB / 0.8222 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000897/0.01801, allocations: 0.5366 MB / 0.8228 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.01873, allocations: 435.8 kB / 0.8232 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.0198, allocations: 1.255 MB / 0.8244 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.0205, allocations: 0.5372 MB / 0.8249 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.0212, allocations: 0.6624 MB / 0.8256 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.02178, allocations: 478.7 kB / 0.826 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.002e-05/0.02186, allocations: 68 kB / 0.8261 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.02235, allocations: 348 kB / 0.8264 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.02257, allocations: 339 kB / 0.8267 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.02309, allocations: 308.2 kB / 0.827 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008516/0.02394, allocations: 0.872 MB / 0.8279 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02394, allocations: 1.219 kB / 0.8279 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.282e-06/0.02394, allocations: 7.938 kB / 0.8279 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.02396, allocations: 0 / 0.8279 GB, free: 1.316 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001251/0.02521, allocations: 1.204 MB / 0.8291 GB, free: 80 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.02525, allocations: 11.97 kB / 0.8291 GB, free: 68 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.02634, allocations: 342.1 kB / 0.8294 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.02696, allocations: 0.5461 MB / 0.8299 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.02699, allocations: 45.67 kB / 0.83 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.02706, allocations: 72.36 kB / 0.8301 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.02792, allocations: 1.084 MB / 0.8311 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.02794, allocations: 4.141 kB / 0.8311 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.02799, allocations: 32.36 kB / 0.8311 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.02809, allocations: 89.19 kB / 0.8312 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.0286, allocations: 358 kB / 0.8316 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.03186, allocations: 5.709 MB / 0.8372 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.03235, allocations: 298.2 kB / 0.8374 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.03253, allocations: 133.1 kB / 0.8376 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.03255, allocations: 12.5 kB / 0.8376 GB, free: 6.93 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.03258, allocations: 45.83 kB / 0.8376 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.03258, allocations: 0 / 0.8376 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001858/0.03444, allocations: 1.072 MB / 0.8387 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.03447, allocations: 55.91 kB / 0.8387 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.03483, allocations: 0.5297 MB / 0.8392 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.03486, allocations: 33.7 kB / 0.8393 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.03506, allocations: 482.6 kB / 0.8397 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.03516, allocations: 178.5 kB / 0.8399 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.03529, allocations: 128.2 kB / 0.84 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.03543, allocations: 0.543 MB / 0.8406 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.03561, allocations: 117.9 kB / 0.8407 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.03616, allocations: 428.6 kB / 0.8411 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.03668, allocations: 0.578 MB / 0.8416 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.03668, allocations: 8 kB / 0.8416 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009063/0.03759, allocations: 0.741 MB / 0.8424 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.03761, allocations: 8 kB / 0.8424 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.03762, allocations: 8.875 kB / 0.8424 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.03838, allocations: 306.4 kB / 0.8427 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.03864, allocations: 131.7 kB / 0.8428 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.04262, allocations: 7.607 MB / 0.8502 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.04289, allocations: 39.91 kB / 0.8503 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.04292, allocations: 31.94 kB / 0.8503 GB, free: 9.016 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.04311, allocations: 204.3 kB / 0.8505 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.04319, allocations: 83.58 kB / 0.8506 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.04392, allocations: 0.5492 MB / 0.8511 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.04392, allocations: 4 kB / 0.8511 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.04392, allocations: 4 kB / 0.8511 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.04393, allocations: 0 / 0.8511 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.0452, allocations: 1.165 MB / 0.8523 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.04521, allocations: 4.125 kB / 0.8523 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.04535, allocations: 67.88 kB / 0.8523 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/0.04602, allocations: 298.8 kB / 0.8526 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.04605, allocations: 12 kB / 0.8526 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.04983, allocations: 7.596 MB / 0.86 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04983, allocations: 0 / 0.86 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.05061, allocations: 0.7289 MB / 0.8608 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.05076, allocations: 111.5 kB / 0.8609 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.0508, allocations: 8 kB / 0.8609 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.05098, allocations: 27.97 kB / 0.8609 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.05108, allocations: 51.8 kB / 0.8609 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.0511, allocations: 12 kB / 0.861 GB, free: 13.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002256/0.05132, allocations: 342.8 kB / 0.8613 GB, free: 13.08 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.05132, allocations: 7.938 kB / 0.8613 GB, free: 13.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008276/0.05215, allocations: 224 kB / 0.8615 GB, free: 12.85 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.05228, allocations: 111.1 kB / 0.8616 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.05337, allocations: 1.198 MB / 0.8628 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.05337, allocations: 0 / 0.8628 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.05401, allocations: 0.9686 MB / 0.8637 GB, free: 10.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.05461, allocations: 205.3 kB / 0.8639 GB, free: 10.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.05632, allocations: 1.266 MB / 0.8652 GB, free: 8.902 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.05648, allocations: 211.1 kB / 0.8654 GB, free: 8.676 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.05671, allocations: 105.4 kB / 0.8655 GB, free: 8.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.05679, allocations: 36.5 kB / 0.8655 GB, free: 8.535 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/0.05679, allocations: 0 / 0.8655 GB, free: 8.535 MB / 0.823 GB Notification: Performance of Templates: time 0.01413/0.07092, allocations: 11.44 MB / 0.8767 GB, free: 13.35 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.4186098161153495]