Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002024/0.002024, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.558/1.558, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.425/2.425, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 71.88 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7606, allocations: 140.3 MB / 0.9489 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006252/0.7669, allocations: 6.171 MB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.7712, allocations: 3.193 MB / 0.9581 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.7717, allocations: 28.31 kB / 0.9581 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.7737, allocations: 0.8694 MB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.7747, allocations: 440.3 kB / 0.9594 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.7758, allocations: 457.2 kB / 0.9598 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.7772, allocations: 1.472 MB / 0.9612 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.7782, allocations: 0.6367 MB / 0.9619 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006708/0.7789, allocations: 384.5 kB / 0.9622 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.7795, allocations: 482.7 kB / 0.9627 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.7796, allocations: 42.28 kB / 0.9627 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7807, allocations: 0.5858 MB / 0.9633 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.781, allocations: 269.2 kB / 0.9636 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.7814, allocations: 379.8 kB / 0.9639 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.7828, allocations: 1.196 MB / 0.9651 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7828, allocations: 0 / 0.9651 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7828, allocations: 4 kB / 0.9651 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.7829, allocations: 1.094 kB / 0.9651 GB, free: 13.66 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001699/0.7846, allocations: 1.055 MB / 0.9661 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7846, allocations: 9.094 kB / 0.9661 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.7862, allocations: 218.3 kB / 0.9663 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008366/0.787, allocations: 0.539 MB / 0.9669 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.7871, allocations: 54.64 kB / 0.9669 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7872, allocations: 64.98 kB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.7887, allocations: 1.034 MB / 0.968 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.7887, allocations: 10.56 kB / 0.968 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.7888, allocations: 29.52 kB / 0.968 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-05/0.7889, allocations: 69.95 kB / 0.9681 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.79, allocations: 0.6913 MB / 0.9688 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/0.7948, allocations: 5.755 MB / 0.9744 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.7957, allocations: 0.6002 MB / 0.975 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.7965, allocations: 422.4 kB / 0.9754 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.7965, allocations: 4 kB / 0.9754 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.7965, allocations: 37.06 kB / 0.9754 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.7965, allocations: 0 / 0.9754 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004439/0.801, allocations: 2.056 MB / 0.9774 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.801, allocations: 60.44 kB / 0.9775 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.8015, allocations: 470.5 kB / 0.9779 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.8016, allocations: 31.05 kB / 0.978 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.8018, allocations: 381.9 kB / 0.9783 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.802, allocations: 152.6 kB / 0.9785 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.8021, allocations: 112.8 kB / 0.9786 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8023, allocations: 363.8 kB / 0.9789 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.8026, allocations: 248.2 kB / 0.9792 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.8031, allocations: 455.9 kB / 0.9796 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.804, allocations: 0.7525 MB / 0.9803 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.804, allocations: 4 kB / 0.9803 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00202/0.8061, allocations: 1.07 MB / 0.9814 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8061, allocations: 8 kB / 0.9814 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.8061, allocations: 11.98 kB / 0.9814 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.8072, allocations: 331.2 kB / 0.9817 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.8076, allocations: 87.89 kB / 0.9818 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.8142, allocations: 6.959 MB / 0.9886 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.8148, allocations: 32.02 kB / 0.9886 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.8149, allocations: 28 kB / 0.9887 GB, free: 7.949 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.8153, allocations: 249.5 kB / 0.9889 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8154, allocations: 59.25 kB / 0.989 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.8171, allocations: 0.9156 MB / 0.9898 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.8172, allocations: 4 kB / 0.9898 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8172, allocations: 4 kB / 0.9899 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8172, allocations: 0 / 0.9899 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.82, allocations: 1.708 MB / 0.9915 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.82, allocations: 192 / 0.9915 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.8202, allocations: 47.91 kB / 0.9916 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00095/0.8211, allocations: 327 kB / 0.9919 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.8212, allocations: 8 kB / 0.9919 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006321/0.8275, allocations: 6.943 MB / 0.9987 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8275, allocations: 96 / 0.9987 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.8293, allocations: 1.018 MB / 0.9997 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.8296, allocations: 180.4 kB / 0.9998 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.8296, allocations: 11.94 kB / 0.9998 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.8299, allocations: 19.97 kB / 0.9999 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.83, allocations: 43.89 kB / 0.9999 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.8301, allocations: 19.94 kB / 0.9999 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003214/0.8304, allocations: 310.9 kB / 1 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8304, allocations: 0 / 1 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008695/0.8313, allocations: 196 kB / 1 GB, free: 11.18 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.8315, allocations: 107.2 kB / 1.001 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.8337, allocations: 1.199 MB / 1.002 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.8337, allocations: 0 / 1.002 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.835, allocations: 0.8618 MB / 1.003 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.8362, allocations: 189.3 kB / 1.003 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.8391, allocations: 1.524 MB / 1.004 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.84, allocations: 0.9921 MB / 1.005 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.8405, allocations: 101.3 kB / 1.005 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8406, allocations: 31.44 kB / 1.005 GB, free: 6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.327e-05/0.8406, allocations: 4 kB / 1.005 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of Templates: time 0.02112/0.8618, allocations: 9.642 MB / 1.015 GB, free: 12.45 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches