Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007441/0.007441, allocations: 170.6 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.348 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.621/2.621, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003933, allocations: 12 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8612, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01734/0.8786, allocations: 13.42 MB / 0.9682 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.8951, allocations: 9.281 MB / 0.9772 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.897, allocations: 50.53 kB / 0.9773 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009934/0.898, allocations: 276.3 kB / 0.9775 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005112/0.9031, allocations: 1.407 MB / 0.9789 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.9051, allocations: 0.6894 MB / 0.9796 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.9098, allocations: 3.171 MB / 0.9827 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.9136, allocations: 1.974 MB / 0.9846 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.9157, allocations: 0.8713 MB / 0.9855 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.9178, allocations: 1.058 MB / 0.9865 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.918, allocations: 72 kB / 0.9866 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.9201, allocations: 0.8615 MB / 0.9874 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.9207, allocations: 0.5139 MB / 0.9879 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.9218, allocations: 0.8447 MB / 0.9887 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.9249, allocations: 2.666 MB / 0.9913 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.9249, allocations: 0 / 0.9913 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.905e-06/0.925, allocations: 0 / 0.9913 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.275e-05/0.925, allocations: 0 / 0.9913 GB, free: 10.11 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003937/0.929, allocations: 1.808 MB / 0.9931 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.929, allocations: 16.03 kB / 0.9931 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.9408, allocations: 2.151 MB / 0.9952 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.944, allocations: 1.201 MB / 0.9964 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.9441, allocations: 86.73 kB / 0.9965 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.9444, allocations: 124.1 kB / 0.9966 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.9507, allocations: 2.71 MB / 0.9992 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.9508, allocations: 3.906 kB / 0.9992 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.951, allocations: 55.98 kB / 0.9993 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006648/0.9516, allocations: 182.1 kB / 0.9995 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008162/0.9598, allocations: 2.846 MB / 1.002 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.9764, allocations: 10.56 MB / 1.013 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/0.9837, allocations: 2.573 MB / 1.015 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/0.9872, allocations: 1.307 MB / 1.016 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.9873, allocations: 16.97 kB / 1.016 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.9873, allocations: 43.56 kB / 1.016 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/0.9873, allocations: 0 / 1.016 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131): time 0.04834/1.036, allocations: 13.45 MB / 1.03 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.036, allocations: 64.72 kB / 1.03 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/1.037, allocations: 1.113 MB / 1.031 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/1.038, allocations: 45.7 kB / 1.031 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/1.038, allocations: 0.7196 MB / 1.031 GB, free: 15.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/1.039, allocations: 461.4 kB / 1.032 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/1.039, allocations: 109.7 kB / 1.032 GB, free: 15.27 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.039, allocations: 357.9 kB / 1.032 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/1.043, allocations: 1.358 MB / 1.034 GB, free: 13.56 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.047, allocations: 1.628 MB / 1.035 GB, free: 11.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007412/1.054, allocations: 3.033 MB / 1.038 GB, free: 8.707 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.054, allocations: 0 / 1.038 GB, free: 8.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01229/1.066, allocations: 4.485 MB / 1.043 GB, free: 4.168 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/1.066, allocations: 8 kB / 1.043 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.066, allocations: 8 kB / 1.043 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/1.072, allocations: 1.436 MB / 1.044 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.074, allocations: 451.2 kB / 1.044 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/1.101, allocations: 24.56 MB / 1.068 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.104, allocations: 319.5 kB / 1.069 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.104, allocations: 63.95 kB / 1.069 GB, free: 7.543 MB / 0.8262 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008994/1.105, allocations: 445.3 kB / 1.069 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/1.106, allocations: 162 kB / 1.069 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.122, allocations: 4.496 MB / 1.074 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/1.122, allocations: 12 kB / 1.074 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/1.123, allocations: 12 kB / 1.074 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.123, allocations: 7.969 kB / 1.074 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/1.148, allocations: 6.84 MB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.148, allocations: 0 / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/1.151, allocations: 395.6 kB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007551/1.159, allocations: 1.31 MB / 1.082 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003159/1.159, allocations: 39.97 kB / 1.082 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0282/1.187, allocations: 23.53 MB / 1.105 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.187, allocations: 4 kB / 1.105 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.2, allocations: 4.243 MB / 1.109 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.202, allocations: 462.9 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/1.202, allocations: 28 kB / 1.11 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.204, allocations: 316 kB / 1.11 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/1.205, allocations: 132.7 kB / 1.11 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.205, allocations: 43.97 kB / 1.11 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001153/1.206, allocations: 0.7526 MB / 1.111 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.206, allocations: 0 / 1.111 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002407/1.209, allocations: 0.5703 MB / 1.112 GB, free: 9.652 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003585/1.209, allocations: 145 kB / 1.112 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.221, allocations: 5.15 MB / 1.117 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.221, allocations: 4 kB / 1.117 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/1.231, allocations: 3.511 MB / 1.12 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/1.237, allocations: 0.5095 MB / 1.121 GB, free: 0 / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.252, allocations: 4.685 MB / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.253, allocations: 1.477 MB / 1.127 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00295/1.256, allocations: 425.6 kB / 1.127 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/1.257, allocations: 111.4 kB / 1.127 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of SimCode: time 1.352e-06/1.257, allocations: 0 / 1.127 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of Templates: time 0.07667/1.334, allocations: 37.06 MB / 1.163 GB, free: 4.582 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches