Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007918/0.007918, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001975/0.001975, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.451/1.451, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.894/2.894, allocations: 461.8 MB / 0.7348 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 66.64 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007423/0.3108, allocations: 5.487 MB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.3155, allocations: 2.631 MB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.3162, allocations: 19.88 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.3181, allocations: 0.6306 MB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.3193, allocations: 386.1 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3204, allocations: 362.2 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.3219, allocations: 1.255 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.323, allocations: 450.3 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.3239, allocations: 330.6 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.3247, allocations: 402.4 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3249, allocations: 36 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.326, allocations: 443.1 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.3264, allocations: 223.4 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.3269, allocations: 338.2 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.3281, allocations: 0.7443 MB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3281, allocations: 4 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3281, allocations: 0 / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.331e-05/0.3282, allocations: 0 / 1.066 GB, free: 10.48 MB / 0.8262 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.002311/0.3305, allocations: 0.9621 MB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3305, allocations: 15.91 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.3322, allocations: 195.9 kB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.3329, allocations: 494.4 kB / 1.068 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.333, allocations: 37.38 kB / 1.068 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3331, allocations: 52.55 kB / 1.068 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3344, allocations: 0.8318 MB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.3344, allocations: 7.906 kB / 1.069 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.3345, allocations: 20 kB / 1.069 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/0.3347, allocations: 64.89 kB / 1.069 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009455/0.3356, allocations: 0.5775 MB / 1.069 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.3405, allocations: 4.581 MB / 1.074 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.341, allocations: 299.2 kB / 1.074 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.3414, allocations: 237.2 kB / 1.074 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.3414, allocations: 288 / 1.074 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3415, allocations: 38.84 kB / 1.074 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 3.556e-06/0.3415, allocations: 0 / 1.074 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005765/0.3472, allocations: 2.627 MB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3473, allocations: 55.41 kB / 1.077 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3479, allocations: 457.9 kB / 1.077 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.3479, allocations: 37.7 kB / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3481, allocations: 339.6 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3482, allocations: 149.9 kB / 1.078 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3484, allocations: 102.1 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3486, allocations: 370.8 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.3489, allocations: 233 kB / 1.079 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.3494, allocations: 410.4 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.3503, allocations: 0.6779 MB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3503, allocations: 0 / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001778/0.3521, allocations: 0.9175 MB / 1.08 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3521, allocations: 8 kB / 1.08 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3521, allocations: 8 kB / 1.08 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/0.353, allocations: 218.5 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.3536, allocations: 119.8 kB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.3588, allocations: 4.939 MB / 1.086 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.3594, allocations: 31.97 kB / 1.086 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.3595, allocations: 28.06 kB / 1.086 GB, free: 5.129 MB / 0.8419 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.0003652/0.3599, allocations: 221.6 kB / 1.086 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.36, allocations: 59.34 kB / 1.086 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.3616, allocations: 0.7772 MB / 1.087 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3616, allocations: 4 kB / 1.087 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3616, allocations: 0 / 1.087 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3617, allocations: 4 kB / 1.087 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.3643, allocations: 1.501 MB / 1.088 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3643, allocations: 0 / 1.088 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.3647, allocations: 67.88 kB / 1.088 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/0.3654, allocations: 206.8 kB / 1.088 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.3655, allocations: 12 kB / 1.088 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.3704, allocations: 4.88 MB / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3705, allocations: 8.062 kB / 1.093 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.3726, allocations: 1.135 MB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.3729, allocations: 168.4 kB / 1.095 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.3731, allocations: 12 kB / 1.095 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.3735, allocations: 28.03 kB / 1.095 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3736, allocations: 39.83 kB / 1.095 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3737, allocations: 16 kB / 1.095 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003832/0.374, allocations: 310.9 kB / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007928/0.3748, allocations: 164 kB / 1.095 GB, free: 10.95 MB / 0.8575 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.0001823/0.375, allocations: 123.2 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.3767, allocations: 1.004 MB / 1.096 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3768, allocations: 4.125 kB / 1.096 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3778, allocations: 0.6878 MB / 1.097 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.3788, allocations: 163.5 kB / 1.097 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3812, allocations: 1.566 MB / 1.099 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3819, allocations: 0.9416 MB / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.382, allocations: 39.44 kB / 1.099 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of SimCode: time 7.41e-07/0.382, allocations: 0 / 1.099 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.01976/0.4018, allocations: 14.76 MB / 1.114 GB, free: 7.551 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches