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.001432/0.001432, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001506/0.001506, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.57/1.57, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.53 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007575/0.3207, allocations: 5.544 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3252, allocations: 2.665 MB / 1.035 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.3258, allocations: 19.88 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3278, allocations: 0.6768 MB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3291, allocations: 405.8 kB / 1.036 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3302, allocations: 415 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.3315, allocations: 0.9552 MB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008439/0.3324, allocations: 474.5 kB / 1.038 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.3331, allocations: 362.6 kB / 1.038 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.3338, allocations: 402.4 kB / 1.038 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.3339, allocations: 48 kB / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.3347, allocations: 371.2 kB / 1.039 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.335, allocations: 247.3 kB / 1.039 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.3354, allocations: 350.2 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.3367, allocations: 0.9734 MB / 1.04 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3367, allocations: 3.938 kB / 1.04 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3367, allocations: 0 / 1.04 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.722e-05/0.3368, allocations: 0 / 1.04 GB, free: 4.215 MB / 0.8106 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.001741/0.3385, allocations: 0.9738 MB / 1.041 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3386, allocations: 8.031 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.34, allocations: 195.8 kB / 1.041 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.3408, allocations: 0.5257 MB / 1.042 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3409, allocations: 37.36 kB / 1.042 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3411, allocations: 64.39 kB / 1.042 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3422, allocations: 0.8241 MB / 1.043 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3422, allocations: 3.938 kB / 1.043 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.3423, allocations: 27.98 kB / 1.043 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.3424, allocations: 64.95 kB / 1.043 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.3433, allocations: 0.5736 MB / 1.043 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.3474, allocations: 4.565 MB / 1.048 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.3478, allocations: 299.1 kB / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.3481, allocations: 233.3 kB / 1.048 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3482, allocations: 8.281 kB / 1.048 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3482, allocations: 34.84 kB / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.3482, allocations: 0 / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005205/0.3534, allocations: 2.623 MB / 1.051 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3535, allocations: 59.41 kB / 1.051 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.354, allocations: 462 kB / 1.052 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.354, allocations: 37.7 kB / 1.052 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3542, allocations: 347.6 kB / 1.052 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3543, allocations: 145.9 kB / 1.052 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.3545, allocations: 102.2 kB / 1.052 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3546, allocations: 362.8 kB / 1.052 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.355, allocations: 237 kB / 1.053 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.3554, allocations: 410.4 kB / 1.053 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.3562, allocations: 0.674 MB / 1.054 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3562, allocations: 8 kB / 1.054 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0016/0.3578, allocations: 0.9168 MB / 1.055 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3579, allocations: 8 kB / 1.055 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3579, allocations: 4.656 kB / 1.055 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007786/0.3587, allocations: 230.3 kB / 1.055 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.3592, allocations: 115.8 kB / 1.055 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.3642, allocations: 5.336 MB / 1.06 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.3648, allocations: 31.97 kB / 1.06 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3648, allocations: 27.94 kB / 1.06 GB, free: 14.39 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.0002836/0.3651, allocations: 209.7 kB / 1.06 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.3652, allocations: 71.16 kB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.3666, allocations: 0.7774 MB / 1.061 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3667, allocations: 4 kB / 1.061 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3667, allocations: 0 / 1.061 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3667, allocations: 7.984 kB / 1.061 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.3691, allocations: 1.495 MB / 1.063 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3691, allocations: 0 / 1.063 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.3695, allocations: 75.88 kB / 1.063 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.3701, allocations: 202.6 kB / 1.063 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3702, allocations: 8 kB / 1.063 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.3748, allocations: 5.274 MB / 1.068 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3748, allocations: 0 / 1.068 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.3766, allocations: 1.139 MB / 1.069 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3769, allocations: 164.4 kB / 1.069 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.377, allocations: 15.94 kB / 1.069 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3773, allocations: 27.95 kB / 1.069 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.3774, allocations: 39.91 kB / 1.07 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3774, allocations: 16.19 kB / 1.07 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003333/0.3778, allocations: 314.9 kB / 1.07 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3778, allocations: 3.938 kB / 1.07 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006457/0.3784, allocations: 168 kB / 1.07 GB, free: 3.801 MB / 0.8419 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.0001508/0.3786, allocations: 115.2 kB / 1.07 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.3801, allocations: 1.012 MB / 1.071 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3801, allocations: 0 / 1.071 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.381, allocations: 0.676 MB / 1.072 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.3819, allocations: 193.2 kB / 1.072 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3837, allocations: 1.26 MB / 1.073 GB, free: 432 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4775/0.8612, allocations: 0.9434 MB / 1.074 GB, free: 52.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000523/0.8618, allocations: 115.9 kB / 1.074 GB, free: 52.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.8619, allocations: 36.75 kB / 1.074 GB, free: 52.23 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/0.8619, allocations: 0 / 1.074 GB, free: 52.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.02084/0.8828, allocations: 8.859 MB / 1.083 GB, free: 51.98 MB / 0.8419 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 -s cvode -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