Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001182/0.001182, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.00106/0.00106, allocations: 195.7 kB / 17.3 MB, free: 5.48 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.83 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01612/0.3136, allocations: 14.06 MB / 1.04 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.3276, allocations: 9.392 MB / 1.05 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3295, allocations: 55.62 kB / 1.05 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004524/0.3342, allocations: 1.68 MB / 1.051 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005191/0.3394, allocations: 1.534 MB / 1.053 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.3415, allocations: 0.7532 MB / 1.054 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.3455, allocations: 2.516 MB / 1.056 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.3475, allocations: 1.415 MB / 1.057 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.3493, allocations: 1.039 MB / 1.058 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.351, allocations: 1.148 MB / 1.06 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.3513, allocations: 168 kB / 1.06 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3529, allocations: 0.7799 MB / 1.06 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.3534, allocations: 0.627 MB / 1.061 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009483/0.3544, allocations: 0.933 MB / 1.062 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.3571, allocations: 2.757 MB / 1.065 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3572, allocations: 4 kB / 1.065 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3572, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.3572, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8419 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.003695/0.3609, allocations: 2.14 MB / 1.067 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.361, allocations: 8.031 kB / 1.067 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.3718, allocations: 2.085 MB / 1.069 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.3751, allocations: 1.294 MB / 1.07 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.3752, allocations: 90.73 kB / 1.07 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.3755, allocations: 124 kB / 1.07 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005454/0.381, allocations: 2.679 MB / 1.073 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.381, allocations: 4 kB / 1.073 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.3812, allocations: 55.98 kB / 1.073 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/0.3818, allocations: 178.1 kB / 1.073 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6034/0.9852, allocations: 2.798 MB / 1.076 GB, free: 52.4 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/1.001, allocations: 10.46 MB / 1.086 GB, free: 45.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006695/1.007, allocations: 2.526 MB / 1.089 GB, free: 45.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003699/1.011, allocations: 1.286 MB / 1.09 GB, free: 44.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.011, allocations: 9.969 kB / 1.09 GB, free: 44.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/1.011, allocations: 48.25 kB / 1.09 GB, free: 44.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 4.419e-06/1.011, allocations: 0 / 1.09 GB, free: 44.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.04768/1.059, allocations: 13.35 MB / 1.103 GB, free: 41.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.059, allocations: 69.33 kB / 1.103 GB, free: 41.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.061, allocations: 1.115 MB / 1.104 GB, free: 40.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.061, allocations: 47.02 kB / 1.104 GB, free: 40.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/1.062, allocations: 0.7142 MB / 1.105 GB, free: 39.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/1.062, allocations: 451 kB / 1.105 GB, free: 39.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005036/1.062, allocations: 265.5 kB / 1.105 GB, free: 39.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/1.063, allocations: 360.8 kB / 1.106 GB, free: 39.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/1.066, allocations: 1.337 MB / 1.107 GB, free: 38.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/1.069, allocations: 1.607 MB / 1.109 GB, free: 38.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/1.075, allocations: 2.99 MB / 1.112 GB, free: 36.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.075, allocations: 2.375 kB / 1.112 GB, free: 36.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0111/1.086, allocations: 4.449 MB / 1.116 GB, free: 34.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.087, allocations: 12.44 kB / 1.116 GB, free: 34.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.087, allocations: 6.844 kB / 1.116 GB, free: 34.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/1.092, allocations: 1.432 MB / 1.117 GB, free: 34.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.094, allocations: 436.5 kB / 1.118 GB, free: 33.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/1.117, allocations: 26.68 MB / 1.144 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.12, allocations: 303.6 kB / 1.144 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.12, allocations: 65.88 kB / 1.144 GB, free: 9.875 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 (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.0008732/1.121, allocations: 441.9 kB / 1.145 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.121, allocations: 159.1 kB / 1.145 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.131, allocations: 4.445 MB / 1.149 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.132, allocations: 20.25 kB / 1.149 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.132, allocations: 13.75 kB / 1.149 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.132, allocations: 7.969 kB / 1.149 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.145, allocations: 6.772 MB / 1.156 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.145, allocations: 7.578 kB / 1.156 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.147, allocations: 386.9 kB / 1.156 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004348/1.151, allocations: 1.312 MB / 1.157 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.151, allocations: 39.3 kB / 1.157 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/1.175, allocations: 25.48 MB / 1.182 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.175, allocations: 4 kB / 1.182 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.186, allocations: 4.198 MB / 1.186 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.187, allocations: 462.9 kB / 1.187 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.187, allocations: 24 kB / 1.187 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.189, allocations: 307.5 kB / 1.187 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/1.19, allocations: 132.5 kB / 1.187 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.19, allocations: 55.95 kB / 1.187 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009588/1.191, allocations: 0.7564 MB / 1.188 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 0 / 1.188 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002162/1.193, allocations: 0.5664 MB / 1.189 GB, free: 368 kB / 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.0003058/1.193, allocations: 139.2 kB / 1.189 GB, free: 220 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.204, allocations: 5.135 MB / 1.194 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.204, allocations: 8 kB / 1.194 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006748/1.21, allocations: 3.489 MB / 1.197 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.213, allocations: 0.5468 MB / 1.198 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/1.221, allocations: 3.987 MB / 1.202 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.222, allocations: 1.47 MB / 1.203 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001499/1.224, allocations: 437.6 kB / 1.204 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/1.224, allocations: 115.4 kB / 1.204 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of SimCode: time 1.133e-06/1.224, allocations: 3.938 kB / 1.204 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of Templates: time 0.06139/1.285, allocations: 38.95 MB / 1.242 GB, free: 10.17 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches