Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 112.6 kB / 16.37 MB, free: 6 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.002483/0.002483, allocations: 196 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.19 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 65.34 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3451, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009315/0.3545, allocations: 6.096 MB / 0.9571 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.3603, allocations: 3.141 MB / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.361, allocations: 27.81 kB / 0.9602 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.3636, allocations: 0.9298 MB / 0.9611 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.365, allocations: 473.5 kB / 0.9615 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3663, allocations: 490.6 kB / 0.962 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3676, allocations: 1.096 MB / 0.9631 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.3685, allocations: 0.6388 MB / 0.9637 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.3692, allocations: 438.4 kB / 0.9641 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.3698, allocations: 470.2 kB / 0.9646 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.3699, allocations: 60 kB / 0.9646 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009398/0.3708, allocations: 490.9 kB / 0.9651 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3711, allocations: 287.2 kB / 0.9654 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3715, allocations: 397.9 kB / 0.9657 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.3727, allocations: 1.172 MB / 0.9669 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3727, allocations: 3.938 kB / 0.9669 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3727, allocations: 0 / 0.9669 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3728, allocations: 4 kB / 0.9669 GB, free: 7.84 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001569/0.3743, allocations: 1.052 MB / 0.9679 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3744, allocations: 8.031 kB / 0.9679 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.3758, allocations: 223.6 kB / 0.9681 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3769, allocations: 0.5728 MB / 0.9687 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.3769, allocations: 53.67 kB / 0.9688 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3771, allocations: 68.25 kB / 0.9688 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3784, allocations: 1.034 MB / 0.9698 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3784, allocations: 8 kB / 0.9698 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.3785, allocations: 27.98 kB / 0.9699 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/0.3786, allocations: 73.2 kB / 0.9699 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/0.3796, allocations: 0.6918 MB / 0.9706 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.3845, allocations: 5.733 MB / 0.9762 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.3853, allocations: 0.6018 MB / 0.9768 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/0.3861, allocations: 416.6 kB / 0.9772 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.3861, allocations: 4 kB / 0.9772 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3861, allocations: 38.56 kB / 0.9772 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 4.098e-06/0.3862, allocations: 0 / 0.9772 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004393/0.3906, allocations: 2.052 MB / 0.9792 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3906, allocations: 63.41 kB / 0.9793 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.3911, allocations: 454.7 kB / 0.9797 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3912, allocations: 33.7 kB / 0.9798 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.3915, allocations: 387 kB / 0.9801 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3916, allocations: 145.9 kB / 0.9803 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.3918, allocations: 114.2 kB / 0.9804 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.392, allocations: 358.8 kB / 0.9807 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.3923, allocations: 253.2 kB / 0.981 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.3929, allocations: 457 kB / 0.9814 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.3938, allocations: 0.7558 MB / 0.9821 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3938, allocations: 0 / 0.9821 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001829/0.3957, allocations: 1.07 MB / 0.9832 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3957, allocations: 8 kB / 0.9832 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3957, allocations: 8 kB / 0.9832 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3968, allocations: 323.2 kB / 0.9835 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3971, allocations: 99.81 kB / 0.9836 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007404/0.4045, allocations: 7.521 MB / 0.991 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.4049, allocations: 28.03 kB / 0.991 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.405, allocations: 27.98 kB / 0.991 GB, free: 13.53 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.4053, allocations: 241.6 kB / 0.9912 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.4054, allocations: 63.19 kB / 0.9913 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.4071, allocations: 0.9116 MB / 0.9922 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4071, allocations: 4 kB / 0.9922 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4071, allocations: 7.984 kB / 0.9922 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4071, allocations: 0 / 0.9922 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.4097, allocations: 1.708 MB / 0.9939 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4097, allocations: 0 / 0.9939 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4099, allocations: 47.91 kB / 0.9939 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008988/0.4108, allocations: 327.5 kB / 0.9942 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.4108, allocations: 8 kB / 0.9942 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.4178, allocations: 7.509 MB / 1.002 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4178, allocations: 0 / 1.002 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.4195, allocations: 1.014 MB / 1.003 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.4198, allocations: 180.4 kB / 1.003 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.4199, allocations: 8 kB / 1.003 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.4202, allocations: 19.97 kB / 1.003 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4203, allocations: 39.89 kB / 1.003 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.4203, allocations: 16 kB / 1.003 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003539/0.4207, allocations: 302.9 kB / 1.003 GB, free: 396 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4207, allocations: 0 / 1.003 GB, free: 396 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008/0.4215, allocations: 203.9 kB / 1.003 GB, free: 192 kB / 0.7794 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.4217, allocations: 116.7 kB / 1.003 GB, free: 68 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.4235, allocations: 1.199 MB / 1.005 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4235, allocations: 0 / 1.005 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4247, allocations: 0.8774 MB / 1.005 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/0.4256, allocations: 200.1 kB / 1.006 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.4276, allocations: 1.226 MB / 1.007 GB, free: 12.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.4282, allocations: 0.9921 MB / 1.008 GB, free: 11.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.4284, allocations: 97.17 kB / 1.008 GB, free: 11.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.4285, allocations: 39.42 kB / 1.008 GB, free: 11.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.4285, allocations: 0 / 1.008 GB, free: 11.27 MB / 0.795 GB Notification: Performance of Templates: time 0.01591/0.4444, allocations: 9.951 MB / 1.018 GB, free: 1.422 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches