Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001888/0.001888, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002277/0.002277, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.521/1.521, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8573, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008561/0.8659, allocations: 5.57 MB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005285/0.8712, allocations: 2.627 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.8718, allocations: 19.88 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.8738, allocations: 0.6383 MB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.8751, allocations: 378.1 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.8763, allocations: 380.6 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.8776, allocations: 0.9629 MB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009163/0.8785, allocations: 0.5082 MB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.8792, allocations: 370.5 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.88, allocations: 422.4 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.8801, allocations: 48 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.8811, allocations: 371.2 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.8815, allocations: 239.3 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.882, allocations: 346.3 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.8836, allocations: 1.001 MB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8836, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8836, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8836, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 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.001915/0.8855, allocations: 0.9776 MB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.8856, allocations: 12.03 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.887, allocations: 191.8 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.8878, allocations: 494.4 kB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.8879, allocations: 45.36 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.8881, allocations: 44.56 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.8894, allocations: 0.8356 MB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.8894, allocations: 7.906 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.8895, allocations: 31.97 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.8897, allocations: 64.94 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.8907, allocations: 0.5735 MB / 1.033 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005268/0.8959, allocations: 4.573 MB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.8965, allocations: 295.3 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.8968, allocations: 225.3 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.8969, allocations: 12.22 kB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.8969, allocations: 38.84 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/0.8969, allocations: 0 / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.006115/0.9031, allocations: 2.634 MB / 1.041 GB, free: 9.152 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.9032, allocations: 55.41 kB / 1.041 GB, free: 9.086 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.9038, allocations: 469.9 kB / 1.042 GB, free: 8.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.9038, allocations: 29.7 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.9042, allocations: 347.6 kB / 1.042 GB, free: 8.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.9043, allocations: 142 kB / 1.042 GB, free: 8.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.9045, allocations: 106.1 kB / 1.042 GB, free: 7.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.9047, allocations: 362.8 kB / 1.043 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.9051, allocations: 245 kB / 1.043 GB, free: 7.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.9057, allocations: 406.4 kB / 1.043 GB, free: 6.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.9067, allocations: 0.6818 MB / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9067, allocations: 0 / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00181/0.9085, allocations: 0.9173 MB / 1.045 GB, free: 5.219 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.9086, allocations: 11.98 kB / 1.045 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9086, allocations: 4 kB / 1.045 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008281/0.9094, allocations: 222.6 kB / 1.045 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.9099, allocations: 115.8 kB / 1.045 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.916, allocations: 5.351 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.9166, allocations: 27.97 kB / 1.05 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.9167, allocations: 24 kB / 1.05 GB, free: 15.03 MB / 0.8106 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.0003953/0.9171, allocations: 222.4 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.9172, allocations: 71.27 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.9188, allocations: 0.7694 MB / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.9189, allocations: 7.984 kB / 1.051 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9189, allocations: 4 kB / 1.051 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9189, allocations: 0 / 1.051 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.9219, allocations: 1.495 MB / 1.053 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.9219, allocations: 4 kB / 1.053 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.9223, allocations: 71.88 kB / 1.053 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/0.9231, allocations: 206.6 kB / 1.053 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.9231, allocations: 8 kB / 1.053 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006329/0.9295, allocations: 5.286 MB / 1.058 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.9295, allocations: 0 / 1.058 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.9317, allocations: 1.135 MB / 1.059 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.9321, allocations: 164.4 kB / 1.06 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.9322, allocations: 19.92 kB / 1.06 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.9326, allocations: 23.97 kB / 1.06 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.9328, allocations: 35.95 kB / 1.06 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.9328, allocations: 12 kB / 1.06 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000487/0.9333, allocations: 310.9 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9333, allocations: 4.062 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008853/0.9342, allocations: 168 kB / 1.06 GB, free: 4.441 MB / 0.8106 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.0002468/0.9344, allocations: 123.6 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.9366, allocations: 1.059 MB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9366, allocations: 4 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.9377, allocations: 0.6799 MB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/0.9387, allocations: 188.4 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.9415, allocations: 1.519 MB / 1.064 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.9423, allocations: 0.9532 MB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004648/0.9428, allocations: 117 kB / 1.065 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.9429, allocations: 43.44 kB / 1.065 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of SimCode: time 1.272e-06/0.9429, allocations: 0 / 1.065 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.0207/0.9636, allocations: 8.904 MB / 1.073 GB, free: 6.812 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches