Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001462/0.001461, allocations: 111.8 kB / 16.41 MB, free: 6.383 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.001433/0.001433, allocations: 193.3 kB / 17.34 MB, free: 5.844 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8713, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007409/0.8788, allocations: 5.187 MB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.8844, allocations: 3.789 MB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.8848, allocations: 11.94 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.8868, allocations: 0.587 MB / 1.218 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.8881, allocations: 473.7 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.8888, allocations: 271.4 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.8899, allocations: 0.693 MB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.8907, allocations: 0.5328 MB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.8913, allocations: 363 kB / 1.22 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.8918, allocations: 298.9 kB / 1.22 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.892, allocations: 44 kB / 1.22 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.8926, allocations: 307.5 kB / 1.22 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.8928, allocations: 171.6 kB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.8931, allocations: 246.8 kB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.8942, allocations: 0.8431 MB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8942, allocations: 4 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8942, allocations: 3.938 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.8943, allocations: 0 / 1.222 GB, free: 15.87 MB / 0.9512 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.001607/0.8959, allocations: 0.8064 MB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8959, allocations: 12.03 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.899, allocations: 0.6905 MB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.8999, allocations: 476.4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8999, allocations: 25.02 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.9, allocations: 32.12 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.9017, allocations: 0.8317 MB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.9017, allocations: 0 / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.9018, allocations: 19.88 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.9019, allocations: 60.58 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.9041, allocations: 0.9351 MB / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.9084, allocations: 2.855 MB / 1.228 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.9101, allocations: 0.5605 MB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/0.9109, allocations: 312.6 kB / 1.229 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.911, allocations: 81.11 kB / 1.229 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.9111, allocations: 46.55 kB / 1.229 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/0.9111, allocations: 3.938 kB / 1.229 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36): time 0.01428/0.9254, allocations: 3.876 MB / 1.233 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.9255, allocations: 55.41 kB / 1.233 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.926, allocations: 429.5 kB / 1.233 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.9261, allocations: 33.7 kB / 1.233 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.9263, allocations: 244.1 kB / 1.234 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.9264, allocations: 114.3 kB / 1.234 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.9266, allocations: 90.02 kB / 1.234 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9268, allocations: 354.8 kB / 1.234 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.9278, allocations: 434.2 kB / 1.235 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.9289, allocations: 0.4969 MB / 1.235 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.931, allocations: 0.9266 MB / 1.236 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9311, allocations: 4 kB / 1.236 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005658/0.9367, allocations: 1.834 MB / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9368, allocations: 7.938 kB / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9368, allocations: 4 kB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/0.9409, allocations: 0.9653 MB / 1.239 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.9416, allocations: 131.8 kB / 1.239 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009896/0.9515, allocations: 6.648 MB / 1.245 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.9524, allocations: 107.8 kB / 1.246 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.9525, allocations: 24.05 kB / 1.246 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001327/0.9538, allocations: 0.6177 MB / 1.246 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/0.9549, allocations: 0.4926 MB / 1.247 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002051/0.957, allocations: 0.8976 MB / 1.247 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.957, allocations: 4 kB / 1.248 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004839/0.9619, allocations: 1.618 MB / 1.249 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9619, allocations: 8 kB / 1.249 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9619, allocations: 0 / 1.249 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.9648, allocations: 0.7 MB / 1.25 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.9654, allocations: 135.8 kB / 1.25 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/0.9731, allocations: 5.825 MB / 1.256 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008649/0.974, allocations: 107.9 kB / 1.256 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.9741, allocations: 19.98 kB / 1.256 GB, free: 11.8 MB / 0.9825 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.0002237/0.9743, allocations: 200.1 kB / 1.256 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.9744, allocations: 39.53 kB / 1.256 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/0.9797, allocations: 1.725 MB / 1.258 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.9797, allocations: 4 kB / 1.258 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9797, allocations: 4 kB / 1.258 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.9801, allocations: 184.6 kB / 1.258 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.9802, allocations: 7.984 kB / 1.258 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.9808, allocations: 83.81 kB / 1.258 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.981, allocations: 47.67 kB / 1.258 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00416/0.9852, allocations: 1.52 MB / 1.259 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002515/0.9877, allocations: 1.374 MB / 1.261 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000767/0.9885, allocations: 411.9 kB / 1.261 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004316/0.9889, allocations: 327.1 kB / 1.261 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of Backend: time 5.01e-07/0.9889, allocations: 0 / 1.261 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006342/0.9953, allocations: 2.331 MB / 1.264 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002168/0.9975, allocations: 1.62 MB / 1.265 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.02749/1.025, allocations: 18.85 MB / 1.284 GB, free: 15.04 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches