Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001103/0.001103, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009089/0.009089, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8077, allocations: 142.4 MB / 0.9551 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006881/0.8146, allocations: 6.373 MB / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.8199, allocations: 3.033 MB / 0.9642 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009268/0.8209, allocations: 24.66 kB / 0.9643 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.8215, allocations: 147.8 kB / 0.9644 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.8234, allocations: 472.6 kB / 0.9649 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.8249, allocations: 406.9 kB / 0.9652 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.8276, allocations: 1.598 MB / 0.9668 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.83, allocations: 1.004 MB / 0.9678 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.8312, allocations: 394.3 kB / 0.9682 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.8324, allocations: 498.3 kB / 0.9686 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.8327, allocations: 34.31 kB / 0.9687 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.8341, allocations: 449.8 kB / 0.9691 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.8346, allocations: 269.2 kB / 0.9694 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.8357, allocations: 432.6 kB / 0.9698 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.8381, allocations: 1.185 MB / 0.9709 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8381, allocations: 0 / 0.9709 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8381, allocations: 1.188 kB / 0.9709 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.363e-05/0.8382, allocations: 0 / 0.9709 GB, free: 12.16 MB / 0.7325 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.00329/0.8415, allocations: 1.011 MB / 0.9719 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.8416, allocations: 10.28 kB / 0.9719 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.8437, allocations: 242.1 kB / 0.9721 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.8452, allocations: 0.5579 MB / 0.9727 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.8452, allocations: 51.98 kB / 0.9727 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.8454, allocations: 69.95 kB / 0.9728 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.8475, allocations: 1.08 MB / 0.9739 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.8475, allocations: 6.656 kB / 0.9739 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.8476, allocations: 33.39 kB / 0.9739 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.8478, allocations: 88.47 kB / 0.974 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.8492, allocations: 0.749 MB / 0.9747 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006464/0.8557, allocations: 5.894 MB / 0.9805 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.8569, allocations: 0.5713 MB / 0.981 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.8575, allocations: 328.3 kB / 0.9813 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.8575, allocations: 5.688 kB / 0.9814 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.8576, allocations: 37.72 kB / 0.9814 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/0.8576, allocations: 4 kB / 0.9814 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.00451/0.8621, allocations: 1.994 MB / 0.9833 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.8622, allocations: 59.83 kB / 0.9834 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.8629, allocations: 0.5665 MB / 0.9839 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.863, allocations: 33.7 kB / 0.984 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.8633, allocations: 418.9 kB / 0.9844 GB, free: 464 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.8634, allocations: 173.5 kB / 0.9845 GB, free: 288 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.8635, allocations: 61.62 kB / 0.9846 GB, free: 220 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8638, allocations: 378.7 kB / 0.985 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.8643, allocations: 277.8 kB / 0.9852 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.8649, allocations: 489 kB / 0.9857 GB, free: 15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.8659, allocations: 0.8132 MB / 0.9865 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.866, allocations: 0 / 0.9865 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001989/0.868, allocations: 1.087 MB / 0.9876 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.868, allocations: 8 kB / 0.9876 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.868, allocations: 8 kB / 0.9876 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.869, allocations: 279.6 kB / 0.9878 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.8695, allocations: 127.8 kB / 0.988 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/0.8766, allocations: 6.607 MB / 0.9944 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.8775, allocations: 40.03 kB / 0.9944 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.8776, allocations: 28 kB / 0.9945 GB, free: 5.348 MB / 0.7481 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.0004797/0.8781, allocations: 258.4 kB / 0.9947 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.8783, allocations: 75.16 kB / 0.9948 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.88, allocations: 0.8925 MB / 0.9957 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.88, allocations: 7.984 kB / 0.9957 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.88, allocations: 4 kB / 0.9957 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.88, allocations: 0 / 0.9957 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.883, allocations: 1.717 MB / 0.9974 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.883, allocations: 8.125 kB / 0.9974 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.8833, allocations: 67.83 kB / 0.9974 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/0.8841, allocations: 271.1 kB / 0.9977 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.8842, allocations: 8 kB / 0.9977 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006396/0.8906, allocations: 6.599 MB / 1.004 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8906, allocations: 4.031 kB / 1.004 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.8924, allocations: 0.9952 MB / 1.005 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.8927, allocations: 188.2 kB / 1.005 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.8928, allocations: 15.94 kB / 1.005 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.8932, allocations: 27.95 kB / 1.005 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.8934, allocations: 39.95 kB / 1.005 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.8934, allocations: 16 kB / 1.005 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004616/0.8939, allocations: 391.1 kB / 1.006 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.266e-06/0.8939, allocations: 4 kB / 1.006 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008682/0.8948, allocations: 227.9 kB / 1.006 GB, free: 8.832 MB / 0.7637 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.0001782/0.8949, allocations: 108.5 kB / 1.006 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.897, allocations: 1.268 MB / 1.007 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.897, allocations: 0 / 1.007 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.8983, allocations: 0.8974 MB / 1.008 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8996, allocations: 204.6 kB / 1.008 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.902, allocations: 1.667 MB / 1.01 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.9026, allocations: 1.02 MB / 1.011 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00046/0.9031, allocations: 126 kB / 1.011 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.9032, allocations: 43.44 kB / 1.011 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/0.9033, allocations: 0 / 1.011 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of Templates: time 0.01969/0.9229, allocations: 10.62 MB / 1.022 GB, free: 8.824 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches