Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_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_10_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_10_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.001203/0.001203, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001423/0.001423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003797, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 153.8 MB / 1.022 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006504/0.8343, allocations: 5.453 MB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.8393, allocations: 2.991 MB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006507/0.84, allocations: 31.75 kB / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.8405, allocations: 123 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.8417, allocations: 374 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.843, allocations: 367.2 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.8447, allocations: 1.221 MB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.8466, allocations: 0.9178 MB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008062/0.8474, allocations: 370.4 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.8483, allocations: 434.4 kB / 1.034 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.8484, allocations: 32 kB / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007286/0.8492, allocations: 243.6 kB / 1.035 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.8495, allocations: 251.3 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.8498, allocations: 161.3 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.851, allocations: 0.8786 MB / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.851, allocations: 0 / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.851, allocations: 0 / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.439e-05/0.851, allocations: 0 / 1.036 GB, free: 2.324 MB / 0.7794 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.001717/0.8527, allocations: 0.931 MB / 1.037 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8528, allocations: 8.562 kB / 1.037 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.8544, allocations: 222.7 kB / 1.037 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.8553, allocations: 0.5249 MB / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.8553, allocations: 57.25 kB / 1.038 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.8555, allocations: 63.89 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.8569, allocations: 1.022 MB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.8569, allocations: 7.938 kB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.857, allocations: 27.98 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.646e-05/0.8571, allocations: 77.27 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.8581, allocations: 0.6918 MB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.863, allocations: 5.76 MB / 1.045 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.8638, allocations: 0.5943 MB / 1.046 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007062/0.8645, allocations: 417.9 kB / 1.046 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.8646, allocations: 4.688 kB / 1.046 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.8646, allocations: 38.5 kB / 1.046 GB, free: 7.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.8646, allocations: 0 / 1.046 GB, free: 7.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004346/0.869, allocations: 2.057 MB / 1.048 GB, free: 5.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.869, allocations: 55.41 kB / 1.048 GB, free: 4.988 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.8697, allocations: 462.7 kB / 1.049 GB, free: 4.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.8697, allocations: 33.7 kB / 1.049 GB, free: 4.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.87, allocations: 387.1 kB / 1.049 GB, free: 4.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.8702, allocations: 153.8 kB / 1.049 GB, free: 3.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.8702, allocations: 12 kB / 1.049 GB, free: 3.938 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8704, allocations: 370.8 kB / 1.049 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.8708, allocations: 241.2 kB / 1.05 GB, free: 3.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.8714, allocations: 453 kB / 1.05 GB, free: 2.793 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.8719, allocations: 315.8 kB / 1.05 GB, free: 2.484 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8719, allocations: 4 kB / 1.05 GB, free: 2.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001932/0.8739, allocations: 1.058 MB / 1.051 GB, free: 1.402 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.8739, allocations: 11.95 kB / 1.051 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.8739, allocations: 8 kB / 1.051 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/0.8749, allocations: 335.8 kB / 1.052 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.8752, allocations: 95.83 kB / 1.052 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.8819, allocations: 6.942 MB / 1.059 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.8823, allocations: 28.03 kB / 1.059 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.8824, allocations: 28 kB / 1.059 GB, free: 9.414 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003954/0.8828, allocations: 249.5 kB / 1.059 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.8829, allocations: 55.34 kB / 1.059 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.8846, allocations: 0.9118 MB / 1.06 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8847, allocations: 4 kB / 1.06 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.8847, allocations: 4 kB / 1.06 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8847, allocations: 7.922 kB / 1.06 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.8874, allocations: 1.712 MB / 1.062 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.8874, allocations: 4 kB / 1.062 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.8876, allocations: 43.91 kB / 1.062 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008691/0.8885, allocations: 319.3 kB / 1.062 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.8885, allocations: 12 kB / 1.062 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.8951, allocations: 6.924 MB / 1.069 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.8951, allocations: 7.953 kB / 1.069 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.8968, allocations: 1.007 MB / 1.07 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.8971, allocations: 176.3 kB / 1.07 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.8972, allocations: 8 kB / 1.07 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.8974, allocations: 27.97 kB / 1.07 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.8975, allocations: 39.84 kB / 1.07 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.8976, allocations: 15.98 kB / 1.07 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003704/0.898, allocations: 306.9 kB / 1.07 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/0.898, allocations: 0 / 1.07 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008573/0.8988, allocations: 192 kB / 1.07 GB, free: 12.68 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.899, allocations: 119.2 kB / 1.071 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.901, allocations: 1.203 MB / 1.072 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.901, allocations: 0 / 1.072 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.9022, allocations: 0.859 MB / 1.073 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.9031, allocations: 196.2 kB / 1.073 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.9053, allocations: 1.488 MB / 1.074 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.9059, allocations: 0.9882 MB / 1.075 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.9062, allocations: 101.3 kB / 1.075 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.9063, allocations: 35.44 kB / 1.075 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.9063, allocations: 0 / 1.075 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.01806/0.9244, allocations: 9.2 MB / 1.084 GB, free: 14.42 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches