Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 103 kB / 16.27 MB, free: 6.031 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.001386/0.001386, allocations: 190.1 kB / 17.19 MB, free: 5.668 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.337/1.337, 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 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.94 kB / 0.8699 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2863, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009117/0.2954, allocations: 6.809 MB / 1.025 GB, free: 3.887 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005115/0.3006, allocations: 3.067 MB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.3012, allocations: 27.81 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.3039, allocations: 0.9441 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3052, allocations: 0.5089 MB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3064, allocations: 446.1 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.308, allocations: 1.236 MB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.309, allocations: 0.6625 MB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.3098, allocations: 470.3 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.3106, allocations: 0.5214 MB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.3109, allocations: 68 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.3117, allocations: 379.2 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.3121, allocations: 319.1 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006139/0.3127, allocations: 449.8 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3141, allocations: 1.203 MB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3142, allocations: 0 / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3142, allocations: 3.938 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.332e-05/0.3142, allocations: 0 / 1.035 GB, free: 9.594 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002235/0.3165, allocations: 1.169 MB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3165, allocations: 8.625 kB / 1.036 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3181, allocations: 235.6 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.319, allocations: 0.5531 MB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.3191, allocations: 49.62 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3192, allocations: 64.27 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3207, allocations: 1.089 MB / 1.038 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.3208, allocations: 7.938 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.3208, allocations: 28 kB / 1.038 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.321, allocations: 89.25 kB / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.3222, allocations: 0.7504 MB / 1.039 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005381/0.3276, allocations: 5.897 MB / 1.044 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.3286, allocations: 0.5564 MB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.329, allocations: 322 kB / 1.045 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3291, allocations: 8.375 kB / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3291, allocations: 39 kB / 1.045 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.3291, allocations: 4 kB / 1.045 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.003879/0.333, allocations: 1.986 MB / 1.047 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3331, allocations: 59.84 kB / 1.047 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.3337, allocations: 0.5625 MB / 1.048 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3338, allocations: 33.7 kB / 1.048 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.334, allocations: 422.9 kB / 1.048 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3342, allocations: 169.6 kB / 1.048 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.3344, allocations: 134.5 kB / 1.048 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3345, allocations: 374.6 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3349, allocations: 277.8 kB / 1.049 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.3355, allocations: 493 kB / 1.05 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.3365, allocations: 0.8132 MB / 1.05 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.3365, allocations: 4 kB / 1.05 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001826/0.3383, allocations: 1.087 MB / 1.051 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3384, allocations: 8 kB / 1.051 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3384, allocations: 4 kB / 1.051 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008795/0.3393, allocations: 283.2 kB / 1.052 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3398, allocations: 119.8 kB / 1.052 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.3463, allocations: 7.142 MB / 1.059 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.347, allocations: 39.91 kB / 1.059 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.3471, allocations: 35.98 kB / 1.059 GB, free: 15.17 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.3474, allocations: 258.8 kB / 1.059 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3476, allocations: 67.25 kB / 1.059 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3492, allocations: 0.8925 MB / 1.06 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3492, allocations: 4 kB / 1.06 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3492, allocations: 8 kB / 1.06 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3492, allocations: 0 / 1.06 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.3519, allocations: 1.717 MB / 1.062 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3519, allocations: 4 kB / 1.062 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3522, allocations: 63.83 kB / 1.062 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007812/0.353, allocations: 271.5 kB / 1.062 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.353, allocations: 16 kB / 1.062 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.3597, allocations: 7.127 MB / 1.069 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3598, allocations: 4.031 kB / 1.069 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.3613, allocations: 0.9874 MB / 1.07 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3616, allocations: 192.1 kB / 1.07 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3618, allocations: 12 kB / 1.07 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.3622, allocations: 31.84 kB / 1.07 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3623, allocations: 47.88 kB / 1.07 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.3624, allocations: 16 kB / 1.07 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004877/0.3628, allocations: 391.1 kB / 1.071 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3629, allocations: 3.938 kB / 1.071 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008374/0.3637, allocations: 228 kB / 1.071 GB, free: 2.105 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.3639, allocations: 111.2 kB / 1.071 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.366, allocations: 1.338 MB / 1.072 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.366, allocations: 0 / 1.072 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4405/0.8065, allocations: 0.8764 MB / 1.073 GB, free: 60.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.8078, allocations: 216.7 kB / 1.073 GB, free: 60.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8102, allocations: 1.416 MB / 1.075 GB, free: 59.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.8107, allocations: 1.012 MB / 1.076 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.8109, allocations: 49.38 kB / 1.076 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of SimCode: time 1.543e-06/0.8109, allocations: 0 / 1.076 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.03045/0.8414, allocations: 20.85 MB / 1.096 GB, free: 55.41 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches