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.001214/0.001214, 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.001517/0.001517, 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.9276/0.9276, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.867/1.867, allocations: 377.9 MB / 0.624 GB, free: 8.379 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 2.084e-06/2.084e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.594e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006582/0.006608, allocations: 4.738 MB / 0.8166 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.0103, allocations: 1.676 MB / 0.8183 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/0.01088, allocations: 40.91 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.01166, allocations: 210.5 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.01282, allocations: 450 kB / 0.8189 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.01379, allocations: 377.9 kB / 0.8193 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.01544, allocations: 1.267 MB / 0.8205 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.01639, allocations: 0.5377 MB / 0.8211 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.01751, allocations: 0.663 MB / 0.8217 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.01837, allocations: 0.4928 MB / 0.8222 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.01852, allocations: 68 kB / 0.8222 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.0189, allocations: 139.7 kB / 0.8224 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.0192, allocations: 331.1 kB / 0.8227 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.01959, allocations: 308.1 kB / 0.823 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009587/0.02055, allocations: 0.7396 MB / 0.8237 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02055, allocations: 0.8438 kB / 0.8237 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.02056, allocations: 0 / 0.8237 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.02058, allocations: 0.6562 kB / 0.8237 GB, free: 5.457 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.001597/0.02218, allocations: 1.172 MB / 0.8249 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.02222, allocations: 10.66 kB / 0.8249 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.02305, allocations: 279.9 kB / 0.8251 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.02357, allocations: 0.5266 MB / 0.8256 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.0236, allocations: 50.17 kB / 0.8257 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.02381, allocations: 69.67 kB / 0.8258 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.02448, allocations: 1.029 MB / 0.8268 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.0245, allocations: 8.125 kB / 0.8268 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.02454, allocations: 29.23 kB / 0.8268 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/0.02463, allocations: 89.19 kB / 0.8269 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.02493, allocations: 289 kB / 0.8272 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.02762, allocations: 5.586 MB / 0.8326 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.02812, allocations: 249.7 kB / 0.8329 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.02823, allocations: 113.1 kB / 0.833 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.02825, allocations: 12.48 kB / 0.833 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.02827, allocations: 41.89 kB / 0.833 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.02828, allocations: 0 / 0.833 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001457/0.02973, allocations: 0.9045 MB / 0.8339 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.02976, allocations: 55.91 kB / 0.834 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.03005, allocations: 0.5176 MB / 0.8345 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.03008, allocations: 33.7 kB / 0.8345 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.03027, allocations: 482.5 kB / 0.835 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.03037, allocations: 186.4 kB / 0.8351 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.0305, allocations: 132.2 kB / 0.8353 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.03065, allocations: 0.5468 MB / 0.8358 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.03076, allocations: 89.92 kB / 0.8359 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.03099, allocations: 400.6 kB / 0.8363 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.03136, allocations: 0.5349 MB / 0.8368 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.03137, allocations: 0 / 0.8368 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000699/0.03206, allocations: 0.6754 MB / 0.8374 GB, free: 6.562 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.03208, allocations: 10.5 kB / 0.8374 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.03209, allocations: 11.98 kB / 0.8375 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.03274, allocations: 298.5 kB / 0.8377 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.03296, allocations: 115.8 kB / 0.8379 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.03649, allocations: 7.477 MB / 0.8452 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.03678, allocations: 20 kB / 0.8452 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.03681, allocations: 24.06 kB / 0.8452 GB, free: 14.14 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.0001853/0.037, allocations: 200.4 kB / 0.8454 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.03707, allocations: 91.52 kB / 0.8455 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.03765, allocations: 0.4984 MB / 0.846 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.03765, allocations: 8 kB / 0.846 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.03766, allocations: 7.938 kB / 0.846 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.03766, allocations: 3.984 kB / 0.846 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.03884, allocations: 0.9943 MB / 0.847 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.03884, allocations: 3.938 kB / 0.847 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.03896, allocations: 56.09 kB / 0.847 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005835/0.03954, allocations: 290.5 kB / 0.8473 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.03956, allocations: 12 kB / 0.8473 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003166/0.04273, allocations: 7.458 MB / 0.8546 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.04273, allocations: 7.938 kB / 0.8546 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.04337, allocations: 0.6859 MB / 0.8553 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.0435, allocations: 99.52 kB / 0.8554 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.04354, allocations: 15.94 kB / 0.8554 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.04369, allocations: 8 kB / 0.8554 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.04376, allocations: 55.75 kB / 0.8554 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.04378, allocations: 12 kB / 0.8554 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001634/0.04394, allocations: 318.7 kB / 0.8557 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04394, allocations: 0 / 0.8557 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005891/0.04453, allocations: 228 kB / 0.856 GB, free: 2.473 MB / 0.8073 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.0001361/0.04467, allocations: 115.2 kB / 0.8561 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.04558, allocations: 1.135 MB / 0.8572 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.04558, allocations: 0.5625 kB / 0.8572 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.04613, allocations: 0.949 MB / 0.8581 GB, free: 120 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.0467, allocations: 200.6 kB / 0.8583 GB, free: 15.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.04824, allocations: 1.255 MB / 0.8595 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.04839, allocations: 215.1 kB / 0.8597 GB, free: 14.38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.04859, allocations: 73.5 kB / 0.8598 GB, free: 14.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.04888, allocations: 250 kB / 0.86 GB, free: 14.06 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.04888, allocations: 0 / 0.86 GB, free: 14.06 MB / 0.823 GB Notification: Performance of Templates: time 0.01476/0.06364, allocations: 12.09 MB / 0.8718 GB, free: 2.207 MB / 0.823 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.1973642921075225]