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.001282/0.001282, allocations: 115.9 kB / 16.37 MB, free: 6.004 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.001249/0.001249, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.17 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.419/2.419, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 61.52 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3332, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00969/0.3429, allocations: 6.742 MB / 0.9577 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.3486, allocations: 3.024 MB / 0.9607 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008458/0.3495, allocations: 27.81 kB / 0.9607 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.3522, allocations: 0.9453 MB / 0.9616 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3539, allocations: 0.5012 MB / 0.9621 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3552, allocations: 430.9 kB / 0.9625 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3572, allocations: 1.224 MB / 0.9637 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3584, allocations: 0.6622 MB / 0.9644 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009759/0.3594, allocations: 478.2 kB / 0.9648 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009897/0.3604, allocations: 0.5137 MB / 0.9653 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.3606, allocations: 71.94 kB / 0.9654 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.3616, allocations: 379.2 kB / 0.9658 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.362, allocations: 307.2 kB / 0.966 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.3627, allocations: 449.8 kB / 0.9665 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3645, allocations: 1.215 MB / 0.9677 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3645, allocations: 0 / 0.9677 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3645, allocations: 0 / 0.9677 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.647e-05/0.3645, allocations: 0 / 0.9677 GB, free: 7.105 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.002685/0.3672, allocations: 1.165 MB / 0.9688 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3673, allocations: 8.031 kB / 0.9688 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.3689, allocations: 243.5 kB / 0.969 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.3702, allocations: 0.592 MB / 0.9696 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.3702, allocations: 45.69 kB / 0.9697 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3703, allocations: 68.36 kB / 0.9697 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3721, allocations: 1.085 MB / 0.9708 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3722, allocations: 7.938 kB / 0.9708 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.3722, allocations: 24 kB / 0.9708 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.3724, allocations: 85.25 kB / 0.9709 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3736, allocations: 0.7543 MB / 0.9716 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/0.3796, allocations: 5.874 MB / 0.9774 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3807, allocations: 0.5631 MB / 0.9779 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.3812, allocations: 334 kB / 0.9782 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.3812, allocations: 4.438 kB / 0.9782 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.3813, allocations: 39 kB / 0.9783 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.3813, allocations: 0 / 0.9783 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.004042/0.3853, allocations: 1.986 MB / 0.9802 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3854, allocations: 59.78 kB / 0.9803 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.3862, allocations: 0.5509 MB / 0.9808 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.3862, allocations: 37.7 kB / 0.9809 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.3865, allocations: 414.9 kB / 0.9812 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3867, allocations: 169.6 kB / 0.9814 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3869, allocations: 130.5 kB / 0.9815 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3871, allocations: 370.7 kB / 0.9819 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.3875, allocations: 277.8 kB / 0.9822 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.3881, allocations: 497 kB / 0.9826 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.3891, allocations: 0.8094 MB / 0.9834 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/0.3891, allocations: 7.984 kB / 0.9834 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001814/0.3909, allocations: 1.079 MB / 0.9845 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.3909, allocations: 12.16 kB / 0.9845 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.391, allocations: 7.984 kB / 0.9845 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/0.3918, allocations: 279.1 kB / 0.9848 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.3923, allocations: 123.8 kB / 0.9849 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.3987, allocations: 7.129 MB / 0.9918 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.3994, allocations: 39.95 kB / 0.9919 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.3995, allocations: 35.94 kB / 0.9919 GB, free: 12.68 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.0003985/0.3999, allocations: 257 kB / 0.9922 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4, allocations: 67.25 kB / 0.9922 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.4015, allocations: 0.8886 MB / 0.9931 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4015, allocations: 4 kB / 0.9931 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4015, allocations: 4.188 kB / 0.9931 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4015, allocations: 3.984 kB / 0.9931 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.4041, allocations: 1.728 MB / 0.9948 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4041, allocations: 4.031 kB / 0.9948 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.4043, allocations: 67.88 kB / 0.9949 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007009/0.405, allocations: 271.1 kB / 0.9951 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.4051, allocations: 8 kB / 0.9951 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.4113, allocations: 7.122 MB / 1.002 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4113, allocations: 0 / 1.002 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4128, allocations: 0.9796 MB / 1.003 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.4132, allocations: 192.1 kB / 1.003 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.4132, allocations: 12 kB / 1.003 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.4136, allocations: 35.91 kB / 1.003 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4137, allocations: 43.88 kB / 1.003 GB, free: 256 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.4138, allocations: 16 kB / 1.003 GB, free: 240 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004437/0.4142, allocations: 383.1 kB / 1.004 GB, free: 15.87 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4142, allocations: 0 / 1.004 GB, free: 15.87 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007953/0.415, allocations: 224 kB / 1.004 GB, free: 15.65 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.0001622/0.4152, allocations: 115.2 kB / 1.004 GB, free: 15.53 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.4171, allocations: 1.268 MB / 1.005 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4171, allocations: 4.125 kB / 1.005 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4183, allocations: 0.9011 MB / 1.006 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.4192, allocations: 238.8 kB / 1.006 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.4213, allocations: 1.31 MB / 1.008 GB, free: 11.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.422, allocations: 1.016 MB / 1.009 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.4223, allocations: 122 kB / 1.009 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4224, allocations: 43.44 kB / 1.009 GB, free: 10.45 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/0.4225, allocations: 0 / 1.009 GB, free: 10.45 MB / 0.795 GB Notification: Performance of Templates: time 0.0196/0.4421, allocations: 11.16 MB / 1.02 GB, free: 15.41 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 gbode -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