Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005632/0.005632, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001194/0.001194, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.366/1.366, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8288, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0422/0.8711, allocations: 37.27 MB / 1.244 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.8966, allocations: 13.7 MB / 1.258 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005384/0.902, allocations: 111.7 kB / 1.258 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.9089, allocations: 2.29 MB / 1.26 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.9137, allocations: 1.455 MB / 1.261 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009298/0.923, allocations: 3.524 MB / 1.265 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008592/0.9317, allocations: 6.403 MB / 1.271 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.9446, allocations: 9.878 MB / 1.281 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.9492, allocations: 2.77 MB / 1.283 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.9545, allocations: 3.198 MB / 1.286 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.9563, allocations: 0.6211 MB / 1.287 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.9596, allocations: 1.252 MB / 1.288 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003351/0.963, allocations: 2.48 MB / 1.291 GB, free: 8.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004657/0.9677, allocations: 2.553 MB / 1.293 GB, free: 5.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.9782, allocations: 9.156 MB / 1.302 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9782, allocations: 0 / 1.302 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9782, allocations: 0 / 1.302 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002704/0.9785, allocations: 0 / 1.302 GB, free: 12.64 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01098/0.9895, allocations: 4.314 MB / 1.306 GB, free: 8.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9896, allocations: 8.031 kB / 1.306 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.9943, allocations: 1.034 MB / 1.307 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.9994, allocations: 2.23 MB / 1.31 GB, free: 4.938 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.9997, allocations: 325 kB / 1.31 GB, free: 4.617 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/1.001, allocations: 432.2 kB / 1.31 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/1.019, allocations: 7.405 MB / 1.317 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/1.019, allocations: 7.938 kB / 1.317 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/1.021, allocations: 188 kB / 1.318 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004186/1.021, allocations: 294.8 kB / 1.318 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/1.035, allocations: 6.022 MB / 1.324 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/1.08, allocations: 32.44 MB / 1.356 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/1.083, allocations: 2.15 MB / 1.358 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/1.085, allocations: 1.247 MB / 1.359 GB, free: 15.31 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.085, allocations: 110.1 kB / 1.359 GB, free: 15.19 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.085, allocations: 43.56 kB / 1.359 GB, free: 15.14 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 3.046e-06/1.085, allocations: 0 / 1.359 GB, free: 15.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.008804/1.094, allocations: 5.274 MB / 1.364 GB, free: 9.812 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/1.094, allocations: 141.5 kB / 1.364 GB, free: 9.645 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/1.097, allocations: 1.472 MB / 1.366 GB, free: 8.16 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/1.097, allocations: 45.7 kB / 1.366 GB, free: 8.109 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.098, allocations: 1.859 MB / 1.368 GB, free: 6.223 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/1.099, allocations: 382.8 kB / 1.368 GB, free: 5.844 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009214/1.1, allocations: 455.1 kB / 1.368 GB, free: 5.391 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.1, allocations: 301.1 kB / 1.369 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/1.102, allocations: 1.157 MB / 1.37 GB, free: 3.926 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/1.104, allocations: 2.211 MB / 1.372 GB, free: 1.195 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.108, allocations: 3.431 MB / 1.375 GB, free: 13.29 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.109, allocations: 8 kB / 1.375 GB, free: 13.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005408/1.114, allocations: 3.37 MB / 1.379 GB, free: 9.902 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/1.114, allocations: 20 kB / 1.379 GB, free: 9.883 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/1.114, allocations: 32 kB / 1.379 GB, free: 9.852 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.313e-05/1.114, allocations: 48 kB / 1.379 GB, free: 9.805 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.116, allocations: 0.6362 MB / 1.379 GB, free: 9.168 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-05/1.116, allocations: 75.66 kB / 1.379 GB, free: 9.094 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.118, allocations: 322.7 kB / 1.38 GB, free: 8.777 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.119, allocations: 124 kB / 1.38 GB, free: 8.656 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003688/1.122, allocations: 2.428 MB / 1.382 GB, free: 6.219 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002279/1.125, allocations: 2.043 MB / 1.384 GB, free: 3.637 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003579/1.128, allocations: 3.072 MB / 1.387 GB, free: 80 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.468e-05/1.128, allocations: 12 kB / 1.387 GB, free: 68 kB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004558/1.133, allocations: 2.976 MB / 1.39 GB, free: 13.08 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.133, allocations: 20 kB / 1.39 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-05/1.133, allocations: 36 kB / 1.39 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-05/1.133, allocations: 48 kB / 1.39 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.135, allocations: 0.5659 MB / 1.391 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.692e-05/1.135, allocations: 75.66 kB / 1.391 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.137, allocations: 263 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.137, allocations: 112 kB / 1.391 GB, free: 11.97 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000478/1.137, allocations: 339.3 kB / 1.391 GB, free: 11.63 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.137, allocations: 154.1 kB / 1.392 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/1.141, allocations: 2.246 MB / 1.394 GB, free: 9.223 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.141, allocations: 19.94 kB / 1.394 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.141, allocations: 3.938 kB / 1.394 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.141, allocations: 7.984 kB / 1.394 GB, free: 9.191 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.155, allocations: 10.99 MB / 1.405 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.155, allocations: 12.03 kB / 1.405 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.156, allocations: 387.3 kB / 1.405 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/1.157, allocations: 16 kB / 1.405 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.025e-05/1.157, allocations: 35.98 kB / 1.405 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/1.157, allocations: 19.94 kB / 1.405 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.157, allocations: 15.94 kB / 1.405 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/1.16, allocations: 2.759 MB / 1.408 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/1.161, allocations: 462.8 kB / 1.408 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.161, allocations: 35.89 kB / 1.408 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.162, allocations: 171.7 kB / 1.408 GB, free: 9.863 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.162, allocations: 104.2 kB / 1.408 GB, free: 9.762 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/1.162, allocations: 39.94 kB / 1.409 GB, free: 9.723 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001399/1.164, allocations: 1.013 MB / 1.41 GB, free: 8.711 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 0 / 1.41 GB, free: 8.711 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003596/1.167, allocations: 1.133 MB / 1.411 GB, free: 7.578 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/1.167, allocations: 146.9 kB / 1.411 GB, free: 7.426 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006173/1.174, allocations: 4.071 MB / 1.415 GB, free: 3.375 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.174, allocations: 0 / 1.415 GB, free: 3.375 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.175, allocations: 1.059 MB / 1.416 GB, free: 2.316 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/1.178, allocations: 449.2 kB / 1.416 GB, free: 1.902 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.188, allocations: 6.985 MB / 1.423 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.191, allocations: 2.86 MB / 1.426 GB, free: 7.832 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002894/1.194, allocations: 1.235 MB / 1.427 GB, free: 6.59 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/1.194, allocations: 119.4 kB / 1.427 GB, free: 6.473 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/1.194, allocations: 0 / 1.427 GB, free: 6.473 MB / 1.154 GB Notification: Performance of Templates: time 0.05065/1.245, allocations: 26.03 MB / 1.453 GB, free: 12.66 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches