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.00104/0.00104, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009623/0.0009623, allocations: 165 kB / 23.82 MB, free: 0.7539 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.8787/0.8787, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.76/1.76, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.593e-06/1.593e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.661e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004368/0.004384, allocations: 4.816 MB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.007049, allocations: 1.688 MB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.007521, allocations: 36.28 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.008111, allocations: 219.5 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.008771, allocations: 449.9 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.00937, allocations: 369.1 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008918/0.01026, allocations: 1.271 MB / 0.8202 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.01084, allocations: 0.5308 MB / 0.8207 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.01141, allocations: 0.6663 MB / 0.8213 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.01188, allocations: 0.496 MB / 0.8218 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.01195, allocations: 64 kB / 0.8219 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.01215, allocations: 140.3 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.01235, allocations: 331.6 kB / 0.8223 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.01258, allocations: 303.3 kB / 0.8226 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.01316, allocations: 0.7443 MB / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01316, allocations: 0 / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01316, allocations: 0.8125 kB / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.01317, allocations: 4 kB / 0.8233 GB, free: 5.641 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.001104/0.01427, allocations: 1.176 MB / 0.8245 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.01431, allocations: 8.031 kB / 0.8245 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.01508, allocations: 309.1 kB / 0.8248 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01563, allocations: 0.5433 MB / 0.8253 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.01566, allocations: 46.58 kB / 0.8254 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.01573, allocations: 72.36 kB / 0.8254 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.01656, allocations: 1.078 MB / 0.8265 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.01658, allocations: 4.125 kB / 0.8265 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.01663, allocations: 32.36 kB / 0.8265 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.01673, allocations: 90.38 kB / 0.8266 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.0172, allocations: 355.2 kB / 0.827 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.02012, allocations: 5.722 MB / 0.8325 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.0207, allocations: 282.8 kB / 0.8328 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.02086, allocations: 133.1 kB / 0.8329 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.02089, allocations: 8.5 kB / 0.8329 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.02092, allocations: 42.98 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.02092, allocations: 0 / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001696/0.02262, allocations: 1.088 MB / 0.834 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.02264, allocations: 59.89 kB / 0.8341 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.02297, allocations: 0.5297 MB / 0.8346 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.023, allocations: 37.7 kB / 0.8347 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.02318, allocations: 466.6 kB / 0.8351 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.02327, allocations: 186.5 kB / 0.8353 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02339, allocations: 128.2 kB / 0.8354 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.02352, allocations: 0.5391 MB / 0.8359 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.02368, allocations: 117.9 kB / 0.836 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.02421, allocations: 424.6 kB / 0.8364 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.02469, allocations: 0.5858 MB / 0.837 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.02469, allocations: 4 kB / 0.837 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008546/0.02554, allocations: 0.7377 MB / 0.8377 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.02556, allocations: 8 kB / 0.8378 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.02557, allocations: 8 kB / 0.8378 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.02636, allocations: 314.6 kB / 0.8381 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.02661, allocations: 127.8 kB / 0.8382 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.03042, allocations: 7.611 MB / 0.8456 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.03065, allocations: 43.95 kB / 0.8457 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.03068, allocations: 28 kB / 0.8457 GB, free: 13.42 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.0001436/0.03083, allocations: 200.4 kB / 0.8459 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.0309, allocations: 83.58 kB / 0.846 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.03156, allocations: 0.5453 MB / 0.8465 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.03156, allocations: 8 kB / 0.8465 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03157, allocations: 4 kB / 0.8465 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03157, allocations: 3.984 kB / 0.8465 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.03272, allocations: 1.165 MB / 0.8476 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03273, allocations: 0 / 0.8476 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.03286, allocations: 64.08 kB / 0.8477 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/0.03348, allocations: 298.5 kB / 0.848 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.0335, allocations: 12 kB / 0.848 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.03699, allocations: 7.596 MB / 0.8554 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03699, allocations: 0 / 0.8554 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.0377, allocations: 0.7405 MB / 0.8561 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.03782, allocations: 107.6 kB / 0.8562 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.03786, allocations: 11.94 kB / 0.8563 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.03803, allocations: 31.95 kB / 0.8563 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.0381, allocations: 51.8 kB / 0.8563 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.03812, allocations: 12 kB / 0.8563 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002084/0.03833, allocations: 338.8 kB / 0.8567 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.03833, allocations: 0 / 0.8567 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007242/0.03905, allocations: 224 kB / 0.8569 GB, free: 1.262 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.0001201/0.03917, allocations: 115.2 kB / 0.857 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009874/0.04016, allocations: 1.19 MB / 0.8582 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.04016, allocations: 0 / 0.8582 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.04075, allocations: 0.9686 MB / 0.8591 GB, free: 14.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.0413, allocations: 200.7 kB / 0.8593 GB, free: 14.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.04276, allocations: 1.275 MB / 0.8605 GB, free: 13.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.04289, allocations: 211.1 kB / 0.8607 GB, free: 13.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.04308, allocations: 105.4 kB / 0.8608 GB, free: 12.97 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.04316, allocations: 36.5 kB / 0.8609 GB, free: 12.94 MB / 0.823 GB Notification: Performance of SimCode: time 7.81e-07/0.04316, allocations: 0 / 0.8609 GB, free: 12.94 MB / 0.823 GB Notification: Performance of Templates: time 0.01329/0.05644, allocations: 11.96 MB / 0.8725 GB, free: 1.242 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: 4.913154954556376]