Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,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.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,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.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001368/0.001368, allocations: 168.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.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.348 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.916/2.916, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 11.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7354, allocations: 153.8 MB / 1.022 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006034/0.7415, allocations: 4.528 MB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.7466, allocations: 3.084 MB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.7471, allocations: 11.94 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.7477, allocations: 155 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.7488, allocations: 310.5 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.7494, allocations: 187.5 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009486/0.7504, allocations: 0.7048 MB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.7518, allocations: 0.7369 MB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.7523, allocations: 195.2 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.7528, allocations: 259.1 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.7529, allocations: 16 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008517/0.7538, allocations: 231.7 kB / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.754, allocations: 147.6 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.7541, allocations: 113.4 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.7551, allocations: 0.7112 MB / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.7551, allocations: 0 / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.446e-06/0.7551, allocations: 0 / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.7552, allocations: 0 / 1.033 GB, free: 4.77 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.001897/0.7571, allocations: 0.7402 MB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7571, allocations: 16.5 kB / 1.034 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.7599, allocations: 0.7053 MB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.761, allocations: 478.6 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.7611, allocations: 24.64 kB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7612, allocations: 32 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.7629, allocations: 0.8356 MB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.7629, allocations: 4 kB / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.763, allocations: 12 kB / 1.036 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.7632, allocations: 72.55 kB / 1.036 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.7652, allocations: 0.9467 MB / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.77, allocations: 2.918 MB / 1.04 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.7716, allocations: 0.5611 MB / 1.041 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.7723, allocations: 321.9 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.7725, allocations: 85.28 kB / 1.041 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.7725, allocations: 34.75 kB / 1.041 GB, free: 12.64 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 2.755e-06/0.7725, allocations: 3.938 kB / 1.041 GB, free: 12.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.01224/0.7848, allocations: 3.658 MB / 1.045 GB, free: 8.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.7849, allocations: 81.11 kB / 1.045 GB, free: 8.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.7855, allocations: 408.5 kB / 1.045 GB, free: 8.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.7855, allocations: 33.7 kB / 1.045 GB, free: 8.379 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.7857, allocations: 235.8 kB / 1.045 GB, free: 8.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.7859, allocations: 114.3 kB / 1.045 GB, free: 8.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.7859, allocations: 8 kB / 1.045 GB, free: 8.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7861, allocations: 342.8 kB / 1.046 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/0.787, allocations: 403.6 kB / 1.046 GB, free: 7.281 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/0.788, allocations: 493 kB / 1.047 GB, free: 6.766 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.789, allocations: 440.4 kB / 1.047 GB, free: 6.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.789, allocations: 0 / 1.047 GB, free: 6.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005318/0.7943, allocations: 1.724 MB / 1.049 GB, free: 4.594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7945, allocations: 144 kB / 1.049 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7945, allocations: 4 kB / 1.049 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004515/0.799, allocations: 0.9738 MB / 1.05 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.7997, allocations: 143.7 kB / 1.05 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008753/0.8084, allocations: 6.403 MB / 1.056 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.8093, allocations: 107.8 kB / 1.056 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.8094, allocations: 19.98 kB / 1.056 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.8094, allocations: 4 kB / 1.056 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004854/0.8142, allocations: 1.652 MB / 1.058 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8143, allocations: 4 kB / 1.058 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.8174, allocations: 0.7329 MB / 1.059 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.818, allocations: 131.8 kB / 1.059 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.8241, allocations: 5.438 MB / 1.064 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.825, allocations: 107.9 kB / 1.064 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.825, allocations: 19.98 kB / 1.064 GB, free: 3.82 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.8255, allocations: 324.9 kB / 1.065 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.8257, allocations: 43.48 kB / 1.065 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.8306, allocations: 1.622 MB / 1.066 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.8306, allocations: 7.953 kB / 1.066 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8306, allocations: 4 kB / 1.066 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.8307, allocations: 3.984 kB / 1.066 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.8365, allocations: 2.314 MB / 1.068 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8365, allocations: 0 / 1.068 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.8369, allocations: 79.91 kB / 1.069 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003841/0.8408, allocations: 0.9231 MB / 1.069 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.8409, allocations: 15.92 kB / 1.069 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007958/0.8488, allocations: 6.235 MB / 1.076 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8489, allocations: 4.031 kB / 1.076 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/0.8536, allocations: 1.631 MB / 1.077 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.854, allocations: 180.6 kB / 1.077 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.854, allocations: 12.14 kB / 1.077 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.8546, allocations: 95.86 kB / 1.077 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.8548, allocations: 27.95 kB / 1.077 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.8549, allocations: 12 kB / 1.077 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004218/0.8553, allocations: 311.1 kB / 1.078 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8553, allocations: 3.938 kB / 1.078 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001058/0.8564, allocations: 244 kB / 1.078 GB, free: 5.184 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 (22): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002142/0.8566, allocations: 119.2 kB / 1.078 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00447/0.8611, allocations: 2.26 MB / 1.08 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.8611, allocations: 8.125 kB / 1.08 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.8626, allocations: 0.8244 MB / 1.081 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.8634, allocations: 122.6 kB / 1.081 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.8656, allocations: 1.313 MB / 1.083 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.8662, allocations: 0.9258 MB / 1.083 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006031/0.8668, allocations: 163.2 kB / 1.084 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.867, allocations: 43.41 kB / 1.084 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of SimCode: time 7.62e-07/0.867, allocations: 0 / 1.084 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.02253/0.8895, allocations: 13.92 MB / 1.097 GB, free: 1.363 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches