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.0009843/0.0009843, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009397/0.0009397, allocations: 161 kB / 23.82 MB, free: 0.75 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.8979/0.8979, allocations: 177.2 MB / 204.2 MB, free: 5.621 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.798/1.798, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.753e-06/1.753e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.806e-05, allocations: 7.312 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004443/0.004461, allocations: 4.805 MB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.006499, allocations: 1.697 MB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.006723, allocations: 39.62 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.007247, allocations: 206.4 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.007742, allocations: 449.1 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.00821, allocations: 382.6 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008202/0.00903, allocations: 1.259 MB / 0.8202 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.0096, allocations: 0.5372 MB / 0.8207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.01014, allocations: 0.6672 MB / 0.8213 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.01058, allocations: 479.6 kB / 0.8218 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.01065, allocations: 68 kB / 0.8219 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.01084, allocations: 138 kB / 0.822 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.01105, allocations: 335 kB / 0.8223 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.01128, allocations: 315.2 kB / 0.8226 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.01212, allocations: 0.7435 MB / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01213, allocations: 0 / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01213, allocations: 0 / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.01214, allocations: 2.688 kB / 0.8233 GB, free: 5.645 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.001092/0.01323, allocations: 1.186 MB / 0.8245 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.01326, allocations: 12.03 kB / 0.8245 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.01414, allocations: 338.1 kB / 0.8248 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.01471, allocations: 0.5411 MB / 0.8254 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.01474, allocations: 53.67 kB / 0.8254 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.01482, allocations: 64.36 kB / 0.8255 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.01563, allocations: 1.077 MB / 0.8265 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.01565, allocations: 13.02 kB / 0.8265 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.0157, allocations: 32.36 kB / 0.8266 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.737e-05/0.01579, allocations: 89.19 kB / 0.8266 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.01626, allocations: 354.5 kB / 0.827 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.01944, allocations: 5.723 MB / 0.8326 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.01993, allocations: 282.8 kB / 0.8328 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.0201, allocations: 141.1 kB / 0.833 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.02013, allocations: 8.5 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.02015, allocations: 37.89 kB / 0.833 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.513e-06/0.02015, allocations: 0 / 0.833 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001745/0.0219, allocations: 1.08 MB / 0.8341 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.02193, allocations: 59.84 kB / 0.8341 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.02227, allocations: 0.5336 MB / 0.8347 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.0223, allocations: 33.7 kB / 0.8347 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.0225, allocations: 478.6 kB / 0.8351 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.02259, allocations: 178.5 kB / 0.8353 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.02271, allocations: 132.2 kB / 0.8354 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.02285, allocations: 0.5391 MB / 0.836 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.02302, allocations: 113.9 kB / 0.8361 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.0233, allocations: 428.6 kB / 0.8365 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.02403, allocations: 0.5819 MB / 0.837 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02403, allocations: 0 / 0.837 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008511/0.02488, allocations: 0.741 MB / 0.8378 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.0249, allocations: 8.875 kB / 0.8378 GB, free: 6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02491, allocations: 4 kB / 0.8378 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007271/0.02563, allocations: 318.3 kB / 0.8381 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.02588, allocations: 127.8 kB / 0.8382 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/0.02974, allocations: 7.607 MB / 0.8456 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.02997, allocations: 39.97 kB / 0.8457 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.03, allocations: 35.92 kB / 0.8457 GB, free: 13.37 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.03015, allocations: 196.4 kB / 0.8459 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.03022, allocations: 91.61 kB / 0.846 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006644/0.03089, allocations: 0.5375 MB / 0.8465 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.03089, allocations: 8 kB / 0.8465 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.0309, allocations: 4.188 kB / 0.8465 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.0309, allocations: 7.984 kB / 0.8465 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.03208, allocations: 1.169 MB / 0.8477 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.03208, allocations: 4 kB / 0.8477 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.03222, allocations: 63.89 kB / 0.8477 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006213/0.03284, allocations: 290.6 kB / 0.848 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.03286, allocations: 8 kB / 0.848 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.03642, allocations: 7.592 MB / 0.8554 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.03643, allocations: 8.062 kB / 0.8554 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.03714, allocations: 0.7289 MB / 0.8562 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.03728, allocations: 111.5 kB / 0.8563 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.03731, allocations: 15.94 kB / 0.8563 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.03748, allocations: 28.16 kB / 0.8563 GB, free: 1.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.03755, allocations: 55.78 kB / 0.8564 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.03757, allocations: 20 kB / 0.8564 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002081/0.03778, allocations: 342.8 kB / 0.8567 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03778, allocations: 0 / 0.8567 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004517/0.03823, allocations: 224 kB / 0.8569 GB, free: 1.199 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.0001116/0.03834, allocations: 111.2 kB / 0.857 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.03946, allocations: 1.194 MB / 0.8582 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03946, allocations: 0 / 0.8582 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.04005, allocations: 0.9686 MB / 0.8591 GB, free: 14.78 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.0406, allocations: 196.4 kB / 0.8593 GB, free: 14.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.04205, allocations: 1.27 MB / 0.8606 GB, free: 13.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.04218, allocations: 215.1 kB / 0.8608 GB, free: 13.03 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.04236, allocations: 97.44 kB / 0.8609 GB, free: 12.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.04244, allocations: 40.5 kB / 0.8609 GB, free: 12.89 MB / 0.823 GB Notification: Performance of SimCode: time 4.71e-07/0.04244, allocations: 0 / 0.8609 GB, free: 12.89 MB / 0.823 GB Notification: Performance of Templates: time 0.0123/0.05474, allocations: 11.44 MB / 0.8721 GB, free: 1.719 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.151614060159773]