Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 180.2 kB / 16.92 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.277 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.613/2.613, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003895, allocations: 19.98 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.744, allocations: 153.8 MB / 1.024 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007248/0.7513, allocations: 4.807 MB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005976/0.7573, allocations: 3.752 MB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.7578, allocations: 7.938 kB / 1.032 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.759, allocations: 228.9 kB / 1.032 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.7605, allocations: 423.4 kB / 1.033 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.7613, allocations: 243.5 kB / 1.033 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.7628, allocations: 0.9036 MB / 1.034 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7644, allocations: 0.8295 MB / 1.035 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.7651, allocations: 303 kB / 1.035 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.7658, allocations: 274.9 kB / 1.035 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.7659, allocations: 20 kB / 1.035 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.7666, allocations: 323.5 kB / 1.035 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.7668, allocations: 139.5 kB / 1.036 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.7672, allocations: 240.5 kB / 1.036 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.7682, allocations: 0.6624 MB / 1.037 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7682, allocations: 0 / 1.037 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7682, allocations: 3.938 kB / 1.037 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.483e-05/0.7683, allocations: 4 kB / 1.037 GB, free: 2.855 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001677/0.7699, allocations: 0.7285 MB / 1.037 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.77, allocations: 8.031 kB / 1.037 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.7735, allocations: 0.7023 MB / 1.038 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.7745, allocations: 468.3 kB / 1.038 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.7746, allocations: 25.02 kB / 1.038 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.7747, allocations: 32.12 kB / 1.038 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.7767, allocations: 0.8473 MB / 1.039 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.7767, allocations: 4 kB / 1.039 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.7768, allocations: 11.98 kB / 1.039 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.777, allocations: 64.58 kB / 1.039 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.7795, allocations: 0.9545 MB / 1.04 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.7842, allocations: 2.89 MB / 1.043 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.7864, allocations: 0.5722 MB / 1.044 GB, free: 11.22 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009916/0.7874, allocations: 324.6 kB / 1.044 GB, free: 10.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.7875, allocations: 85.11 kB / 1.044 GB, free: 10.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.7876, allocations: 38.56 kB / 1.044 GB, free: 10.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 2.876e-06/0.7876, allocations: 4 kB / 1.044 GB, free: 10.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=36): time 0.01663/0.8042, allocations: 4.023 MB / 1.048 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.8043, allocations: 55.41 kB / 1.048 GB, free: 6.625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.805, allocations: 433.5 kB / 1.048 GB, free: 6.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.8051, allocations: 29.7 kB / 1.048 GB, free: 6.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8053, allocations: 236.2 kB / 1.049 GB, free: 5.926 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.8055, allocations: 126.2 kB / 1.049 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.8056, allocations: 41.7 kB / 1.049 GB, free: 5.754 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.8058, allocations: 350.8 kB / 1.049 GB, free: 5.402 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.807, allocations: 440.5 kB / 1.05 GB, free: 4.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.8082, allocations: 0.5164 MB / 1.05 GB, free: 4.418 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.8106, allocations: 0.9539 MB / 1.051 GB, free: 3.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8106, allocations: 4 kB / 1.051 GB, free: 3.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006831/0.8175, allocations: 1.892 MB / 1.053 GB, free: 1.527 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.8176, allocations: 140.1 kB / 1.053 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.8176, allocations: 8 kB / 1.053 GB, free: 1.352 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005/0.8226, allocations: 1.024 MB / 1.054 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.8235, allocations: 135.8 kB / 1.054 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.8346, allocations: 6.196 MB / 1.06 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009763/0.8356, allocations: 115.8 kB / 1.06 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.8357, allocations: 20.05 kB / 1.06 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.8358, allocations: 4 kB / 1.06 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005556/0.8413, allocations: 1.605 MB / 1.062 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.8413, allocations: 4 kB / 1.062 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/0.8446, allocations: 0.743 MB / 1.063 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.8453, allocations: 143.8 kB / 1.063 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.8545, allocations: 5.414 MB / 1.068 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.8555, allocations: 107.9 kB / 1.068 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.8556, allocations: 23.98 kB / 1.068 GB, free: 1.266 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005149/0.8561, allocations: 341.4 kB / 1.069 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8562, allocations: 39.53 kB / 1.069 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.8623, allocations: 1.782 MB / 1.07 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8623, allocations: 4 kB / 1.07 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8623, allocations: 4 kB / 1.07 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8623, allocations: 3.938 kB / 1.07 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/0.8694, allocations: 2.468 MB / 1.073 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8694, allocations: 0 / 1.073 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.8699, allocations: 87.94 kB / 1.073 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004248/0.8741, allocations: 0.9379 MB / 1.074 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.8742, allocations: 8 kB / 1.074 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009706/0.884, allocations: 5.879 MB / 1.079 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.884, allocations: 0 / 1.079 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/0.8896, allocations: 1.735 MB / 1.081 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.89, allocations: 180.6 kB / 1.081 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.8902, allocations: 15.92 kB / 1.081 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.8909, allocations: 95.86 kB / 1.081 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.8911, allocations: 31.95 kB / 1.081 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.8912, allocations: 15.98 kB / 1.082 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005337/0.8917, allocations: 319.1 kB / 1.082 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8917, allocations: 4 kB / 1.082 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001196/0.8929, allocations: 260 kB / 1.082 GB, free: 2.656 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.8932, allocations: 119.2 kB / 1.082 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007172/0.9004, allocations: 2.513 MB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.9004, allocations: 0 / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.9031, allocations: 0.9693 MB / 1.086 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.904, allocations: 135.8 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.9066, allocations: 1.466 MB / 1.087 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.9074, allocations: 0.9451 MB / 1.088 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.9076, allocations: 39.41 kB / 1.088 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of SimCode: time 8.22e-07/0.9076, allocations: 3.938 kB / 1.088 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Templates: time 0.02081/0.9284, allocations: 13.83 MB / 1.102 GB, free: 14.52 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches