Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001268/0.001268, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 197.2 kB / 16.79 MB, free: 6.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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.64 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007179/0.2983, allocations: 5.572 MB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.3027, allocations: 2.65 MB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.3032, allocations: 19.88 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.3051, allocations: 0.6448 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.3061, allocations: 386.1 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.3071, allocations: 359.3 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3084, allocations: 1.252 MB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/0.3092, allocations: 462.2 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.3098, allocations: 330.6 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.3104, allocations: 406.4 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3105, allocations: 35.98 kB / 1.065 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.3114, allocations: 443.1 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.3117, allocations: 239.2 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.3121, allocations: 330.3 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.3129, allocations: 0.7481 MB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3129, allocations: 0 / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3129, allocations: 0 / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.3129, 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.001801/0.3147, allocations: 0.9777 MB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3148, allocations: 11.97 kB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.3163, allocations: 191.8 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.3171, allocations: 0.4945 MB / 1.068 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3171, allocations: 33.38 kB / 1.068 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3173, allocations: 60.53 kB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3185, allocations: 0.8318 MB / 1.069 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.3185, allocations: 3.906 kB / 1.069 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.3186, allocations: 24 kB / 1.069 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.3188, allocations: 64.95 kB / 1.069 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.3197, allocations: 0.5774 MB / 1.069 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.3243, allocations: 4.585 MB / 1.074 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.3248, allocations: 291.3 kB / 1.074 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.3252, allocations: 225.3 kB / 1.074 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3252, allocations: 4.281 kB / 1.074 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3252, allocations: 42.78 kB / 1.074 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.3252, allocations: 4 kB / 1.074 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005643/0.3309, allocations: 2.615 MB / 1.077 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.331, allocations: 63.34 kB / 1.077 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.3315, allocations: 462 kB / 1.077 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3315, allocations: 37.7 kB / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3318, allocations: 347.6 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.3319, allocations: 145.9 kB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.3321, allocations: 106.2 kB / 1.078 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3322, allocations: 362.8 kB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.3326, allocations: 237 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.333, allocations: 406.5 kB / 1.079 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.3339, allocations: 0.6778 MB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3339, allocations: 0 / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001688/0.3356, allocations: 0.9209 MB / 1.081 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3356, allocations: 8 kB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3356, allocations: 4 kB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008328/0.3365, allocations: 230.9 kB / 1.081 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.337, allocations: 119.8 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.3417, allocations: 4.943 MB / 1.086 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.3422, allocations: 31.97 kB / 1.086 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.3422, allocations: 28 kB / 1.086 GB, free: 5.086 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.0003065/0.3425, allocations: 217.6 kB / 1.086 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3427, allocations: 59.34 kB / 1.086 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3442, allocations: 0.7734 MB / 1.087 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3442, allocations: 4 kB / 1.087 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3442, allocations: 7.938 kB / 1.087 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3442, allocations: 7.984 kB / 1.087 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.3467, allocations: 1.494 MB / 1.088 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3467, allocations: 0 / 1.088 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.3471, allocations: 67.94 kB / 1.088 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/0.3478, allocations: 206.5 kB / 1.089 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3478, allocations: 12 kB / 1.089 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/0.3523, allocations: 4.88 MB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3523, allocations: 7.969 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3541, allocations: 1.139 MB / 1.095 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3544, allocations: 172.4 kB / 1.095 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.3545, allocations: 11.98 kB / 1.095 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3548, allocations: 23.97 kB / 1.095 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.3549, allocations: 43.83 kB / 1.095 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.3549, allocations: 8.188 kB / 1.095 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000337/0.3553, allocations: 314.9 kB / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3553, allocations: 4.062 kB / 1.095 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006858/0.356, allocations: 168 kB / 1.095 GB, free: 10.9 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.0001496/0.3561, allocations: 115.2 kB / 1.095 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.3578, allocations: 1.004 MB / 1.096 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3578, allocations: 0 / 1.096 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.3587, allocations: 0.684 MB / 1.097 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.3596, allocations: 168.8 kB / 1.097 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3619, allocations: 1.572 MB / 1.099 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3625, allocations: 0.9494 MB / 1.1 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3626, allocations: 43.38 kB / 1.1 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3626, allocations: 0 / 1.1 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.0178/0.3804, allocations: 14.9 MB / 1.114 GB, free: 7.352 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches