Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 104.4 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 192.9 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 61.36 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00988/0.3306, allocations: 6.75 MB / 0.9577 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008217/0.3388, allocations: 3.036 MB / 0.9607 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.34, allocations: 23.88 kB / 0.9607 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.3434, allocations: 0.9529 MB / 0.9616 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.3462, allocations: 0.4895 MB / 0.9621 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.3481, allocations: 434.4 kB / 0.9625 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.3508, allocations: 1.232 MB / 0.9637 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.3524, allocations: 0.6583 MB / 0.9644 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.3538, allocations: 478.3 kB / 0.9648 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.3551, allocations: 0.5215 MB / 0.9653 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.3553, allocations: 64 kB / 0.9654 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.3567, allocations: 375.3 kB / 0.9657 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.3572, allocations: 311.1 kB / 0.966 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.3579, allocations: 453.7 kB / 0.9665 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.3603, allocations: 1.215 MB / 0.9677 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3603, allocations: 0 / 0.9677 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3603, allocations: 0 / 0.9677 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.3604, allocations: 0 / 0.9677 GB, free: 7.039 MB / 0.7481 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.003417/0.3638, allocations: 1.153 MB / 0.9688 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.3639, allocations: 8.031 kB / 0.9688 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.3671, allocations: 239.6 kB / 0.969 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.369, allocations: 0.592 MB / 0.9696 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3692, allocations: 49.67 kB / 0.9696 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.3694, allocations: 68.3 kB / 0.9697 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.3724, allocations: 1.081 MB / 0.9708 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.3725, allocations: 11.94 kB / 0.9708 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.3726, allocations: 31.98 kB / 0.9708 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.3729, allocations: 85.25 kB / 0.9709 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.3753, allocations: 0.7504 MB / 0.9716 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.3865, allocations: 5.87 MB / 0.9774 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3885, allocations: 0.5647 MB / 0.9779 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/0.3893, allocations: 330 kB / 0.9782 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.3894, allocations: 8.438 kB / 0.9782 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.3895, allocations: 46.98 kB / 0.9783 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 3.987e-06/0.3895, allocations: 0 / 0.9783 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.007489/0.397, allocations: 1.978 MB / 0.9802 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.3971, allocations: 59.84 kB / 0.9803 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.3986, allocations: 0.5547 MB / 0.9808 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.3987, allocations: 33.7 kB / 0.9808 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/0.3994, allocations: 422.9 kB / 0.9812 GB, free: 8.344 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.3997, allocations: 165.6 kB / 0.9814 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/0.4001, allocations: 126.5 kB / 0.9815 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002713/0.4004, allocations: 382.6 kB / 0.9819 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.4012, allocations: 281.8 kB / 0.9822 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.4024, allocations: 493 kB / 0.9826 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.4045, allocations: 0.8055 MB / 0.9834 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4045, allocations: 0 / 0.9834 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003867/0.4084, allocations: 1.087 MB / 0.9845 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.4084, allocations: 8 kB / 0.9845 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.4085, allocations: 11.98 kB / 0.9845 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.4103, allocations: 283.6 kB / 0.9848 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.4114, allocations: 123.8 kB / 0.9849 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.4239, allocations: 7.129 MB / 0.9918 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4252, allocations: 35.97 kB / 0.9919 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.4254, allocations: 31.98 kB / 0.9919 GB, free: 12.62 MB / 0.7794 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.0007668/0.4262, allocations: 263.5 kB / 0.9922 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.4265, allocations: 67.25 kB / 0.9922 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.4296, allocations: 0.8846 MB / 0.9931 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4297, allocations: 8 kB / 0.9931 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.4297, allocations: 4 kB / 0.9931 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4297, allocations: 0 / 0.9931 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.4349, allocations: 1.725 MB / 0.9948 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.4349, allocations: 8 kB / 0.9948 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.4356, allocations: 59.89 kB / 0.9948 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.4372, allocations: 267.3 kB / 0.9951 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.4373, allocations: 12 kB / 0.9951 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.4496, allocations: 7.122 MB / 1.002 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.4497, allocations: 4.031 kB / 1.002 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.4527, allocations: 0.9835 MB / 1.003 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.4535, allocations: 196.1 kB / 1.003 GB, free: 280 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.4538, allocations: 12 kB / 1.003 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.4547, allocations: 31.91 kB / 1.003 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.4549, allocations: 43.88 kB / 1.003 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.455, allocations: 16 kB / 1.003 GB, free: 176 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009802/0.456, allocations: 387.1 kB / 1.004 GB, free: 15.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 7.51e-07/0.456, allocations: 0 / 1.004 GB, free: 15.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00158/0.4576, allocations: 224 kB / 1.004 GB, free: 15.58 MB / 0.795 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.0002543/0.4579, allocations: 116.2 kB / 1.004 GB, free: 15.46 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.4612, allocations: 1.268 MB / 1.005 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.4612, allocations: 4 kB / 1.005 GB, free: 14.13 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/0.4633, allocations: 0.8896 MB / 1.006 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.4654, allocations: 228 kB / 1.006 GB, free: 12.97 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.4693, allocations: 1.33 MB / 1.008 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.4703, allocations: 1.016 MB / 1.009 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006945/0.4711, allocations: 118 kB / 1.009 GB, free: 10.43 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.4713, allocations: 39.44 kB / 1.009 GB, free: 10.39 MB / 0.795 GB Notification: Performance of SimCode: time 1.653e-06/0.4713, allocations: 0 / 1.009 GB, free: 10.39 MB / 0.795 GB Notification: Performance of Templates: time 0.03458/0.5059, allocations: 11.16 MB / 1.02 GB, free: 15.35 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches