Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001655/0.001655, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 65.34 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2815, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007889/0.2894, allocations: 5.466 MB / 0.9556 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004647/0.2941, allocations: 2.623 MB / 0.9582 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.2946, allocations: 23.88 kB / 0.9582 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.2967, allocations: 0.6806 MB / 0.9589 GB, free: 24 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.298, allocations: 409.7 kB / 0.9593 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.2993, allocations: 391.1 kB / 0.9596 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3006, allocations: 0.9514 MB / 0.9606 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.3015, allocations: 466.8 kB / 0.961 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006908/0.3022, allocations: 370.6 kB / 0.9614 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.303, allocations: 410.3 kB / 0.9618 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.3031, allocations: 48 kB / 0.9618 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008181/0.304, allocations: 363.3 kB / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3043, allocations: 239.3 kB / 0.9624 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.3048, allocations: 350.2 kB / 0.9627 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3062, allocations: 0.9617 MB / 0.9637 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3062, allocations: 4 kB / 0.9637 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3062, allocations: 4 kB / 0.9637 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.3062, allocations: 0 / 0.9637 GB, free: 11.11 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002063/0.3083, allocations: 0.9621 MB / 0.9646 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3084, allocations: 8.031 kB / 0.9646 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.3099, allocations: 195.9 kB / 0.9648 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.3107, allocations: 494.4 kB / 0.9653 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3107, allocations: 37.36 kB / 0.9653 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.3109, allocations: 56.53 kB / 0.9654 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3122, allocations: 0.8318 MB / 0.9662 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.3122, allocations: 7.906 kB / 0.9662 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.3123, allocations: 23.98 kB / 0.9662 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.3125, allocations: 64.95 kB / 0.9663 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.3135, allocations: 0.5735 MB / 0.9668 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.3184, allocations: 4.581 MB / 0.9713 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.3189, allocations: 295.3 kB / 0.9716 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.3192, allocations: 221.3 kB / 0.9718 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3193, allocations: 4.281 kB / 0.9718 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.3193, allocations: 50.7 kB / 0.9718 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.3193, allocations: 0 / 0.9718 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.005859/0.3252, allocations: 2.623 MB / 0.9744 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3253, allocations: 59.34 kB / 0.9745 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.3258, allocations: 465.8 kB / 0.9749 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3259, allocations: 33.7 kB / 0.9749 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.3261, allocations: 339.6 kB / 0.9753 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3262, allocations: 145.9 kB / 0.9754 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3264, allocations: 106.1 kB / 0.9755 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3266, allocations: 366.8 kB / 0.9758 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.327, allocations: 237 kB / 0.9761 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.3275, allocations: 406.5 kB / 0.9765 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.3284, allocations: 0.6778 MB / 0.9771 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3284, allocations: 0 / 0.9771 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001739/0.3302, allocations: 0.9172 MB / 0.978 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3302, allocations: 11.98 kB / 0.978 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3302, allocations: 4 kB / 0.978 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008821/0.3311, allocations: 227 kB / 0.9782 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.3316, allocations: 115.8 kB / 0.9784 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.337, allocations: 5.339 MB / 0.9836 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.3376, allocations: 27.97 kB / 0.9836 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.3376, allocations: 28.06 kB / 0.9836 GB, free: 5.336 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003412/0.338, allocations: 221.7 kB / 0.9838 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3381, allocations: 63.27 kB / 0.9839 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3397, allocations: 0.7695 MB / 0.9846 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3397, allocations: 4 kB / 0.9847 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3397, allocations: 7.984 kB / 0.9847 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3397, allocations: 0 / 0.9847 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.3425, allocations: 1.502 MB / 0.9861 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3425, allocations: 192 / 0.9861 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.3429, allocations: 79.88 kB / 0.9862 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.3437, allocations: 202.6 kB / 0.9864 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.3437, allocations: 8 kB / 0.9864 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.3492, allocations: 5.281 MB / 0.9916 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3493, allocations: 0 / 0.9916 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3512, allocations: 1.143 MB / 0.9927 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.3515, allocations: 164.4 kB / 0.9928 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.3516, allocations: 15.94 kB / 0.9928 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3519, allocations: 27.95 kB / 0.9929 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.352, allocations: 32.03 kB / 0.9929 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3521, allocations: 12 kB / 0.9929 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003851/0.3525, allocations: 314.9 kB / 0.9932 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3525, allocations: 4 kB / 0.9932 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007473/0.3532, allocations: 164 kB / 0.9934 GB, free: 10.74 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.3534, allocations: 111.2 kB / 0.9935 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.3553, allocations: 1.071 MB / 0.9945 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3554, allocations: 3.938 kB / 0.9945 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.3564, allocations: 0.6721 MB / 0.9952 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.3574, allocations: 197.4 kB / 0.9954 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3598, allocations: 1.307 MB / 0.9967 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.3605, allocations: 0.9494 MB / 0.9976 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3606, allocations: 39.44 kB / 0.9976 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of SimCode: time 6.71e-07/0.3606, allocations: 4 kB / 0.9976 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.0199/0.3805, allocations: 14.76 MB / 1.012 GB, free: 7.512 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches