Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.008152/0.008152, allocations: 96.56 kB / 15.73 MB, free: 6.043 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.001637/0.001637, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.694/1.029, allocations: 37.35 MB / 1.257 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.05, allocations: 13.72 MB / 1.27 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/1.054, allocations: 113.1 kB / 1.271 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0059/1.06, allocations: 2.308 MB / 1.273 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/1.065, allocations: 1.452 MB / 1.274 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/1.075, allocations: 3.528 MB / 1.278 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009455/1.084, allocations: 6.39 MB / 1.284 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/1.096, allocations: 7.082 MB / 1.291 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/1.102, allocations: 2.771 MB / 1.294 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006314/1.108, allocations: 3.198 MB / 1.297 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00174/1.11, allocations: 0.6203 MB / 1.297 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/1.113, allocations: 1.255 MB / 1.299 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004394/1.118, allocations: 2.545 MB / 1.301 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006826/1.125, allocations: 2.55 MB / 1.303 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/1.139, allocations: 9.19 MB / 1.312 GB, free: 9.551 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.139, allocations: 0 / 1.312 GB, free: 9.551 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/1.139, allocations: 0 / 1.312 GB, free: 9.551 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002952/1.14, allocations: 0 / 1.312 GB, free: 9.551 MB / 1.014 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.016/1.156, allocations: 4.406 MB / 1.317 GB, free: 6.859 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.156, allocations: 9.281 kB / 1.317 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/1.162, allocations: 1.055 MB / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/1.167, allocations: 2.234 MB / 1.32 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/1.168, allocations: 329.6 kB / 1.32 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/1.169, allocations: 427.1 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/1.19, allocations: 7.405 MB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/1.19, allocations: 14.5 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007496/1.191, allocations: 182 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003979/1.191, allocations: 288.3 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.204, allocations: 6.024 MB / 1.334 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04252/1.246, allocations: 32.5 MB / 1.366 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/1.25, allocations: 2.066 MB / 1.368 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/1.252, allocations: 1.177 MB / 1.369 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/1.252, allocations: 106.1 kB / 1.369 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.252, allocations: 43.56 kB / 1.369 GB, free: 12.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/1.252, allocations: 3.938 kB / 1.369 GB, free: 12.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=101): time 0.01115/1.263, allocations: 5.436 MB / 1.375 GB, free: 7.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.263, allocations: 149.4 kB / 1.375 GB, free: 6.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.266, allocations: 1.476 MB / 1.376 GB, free: 5.473 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.266, allocations: 45.7 kB / 1.376 GB, free: 5.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.267, allocations: 1.925 MB / 1.378 GB, free: 3.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/1.268, allocations: 396.7 kB / 1.379 GB, free: 3.086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008514/1.268, allocations: 463.4 kB / 1.379 GB, free: 2.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.269, allocations: 301.1 kB / 1.379 GB, free: 2.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.27, allocations: 1.149 MB / 1.38 GB, free: 1.168 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/1.273, allocations: 2.207 MB / 1.383 GB, free: 14.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/1.277, allocations: 3.438 MB / 1.386 GB, free: 10.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.277, allocations: 8 kB / 1.386 GB, free: 10.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005498/1.283, allocations: 3.383 MB / 1.389 GB, free: 7.129 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/1.283, allocations: 20 kB / 1.389 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/1.283, allocations: 32 kB / 1.389 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-05/1.283, allocations: 48 kB / 1.389 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/1.285, allocations: 0.6362 MB / 1.39 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.825e-05/1.285, allocations: 71.72 kB / 1.39 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.288, allocations: 319.1 kB / 1.39 GB, free: 6.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.288, allocations: 120 kB / 1.39 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00426/1.292, allocations: 2.432 MB / 1.393 GB, free: 3.453 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002393/1.294, allocations: 2.046 MB / 1.395 GB, free: 0.875 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003932/1.298, allocations: 3.068 MB / 1.398 GB, free: 13.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.902e-05/1.298, allocations: 12 kB / 1.398 GB, free: 13.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005562/1.304, allocations: 2.981 MB / 1.401 GB, free: 10.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/1.304, allocations: 25.81 kB / 1.401 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/1.304, allocations: 36 kB / 1.401 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-05/1.304, allocations: 48 kB / 1.401 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.306, allocations: 0.566 MB / 1.401 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.273e-05/1.306, allocations: 75.72 kB / 1.401 GB, free: 9.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/1.309, allocations: 267.3 kB / 1.402 GB, free: 9.309 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.309, allocations: 115.9 kB / 1.402 GB, free: 9.195 MB / 1.092 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.00084/1.31, allocations: 331.9 kB / 1.402 GB, free: 8.863 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/1.311, allocations: 166.9 kB / 1.402 GB, free: 8.699 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/1.315, allocations: 2.246 MB / 1.404 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.315, allocations: 19.94 kB / 1.404 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.315, allocations: 0 / 1.404 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.315, allocations: 7.984 kB / 1.405 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/1.334, allocations: 10.99 MB / 1.415 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/1.334, allocations: 12.25 kB / 1.415 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.336, allocations: 383.3 kB / 1.416 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-05/1.336, allocations: 16 kB / 1.416 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.336, allocations: 39.98 kB / 1.416 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-05/1.336, allocations: 19.94 kB / 1.416 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/1.336, allocations: 19.88 kB / 1.416 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/1.34, allocations: 2.756 MB / 1.418 GB, free: 7.77 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/1.341, allocations: 467.7 kB / 1.419 GB, free: 7.293 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/1.341, allocations: 35.98 kB / 1.419 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.342, allocations: 171.7 kB / 1.419 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.343, allocations: 100.2 kB / 1.419 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/1.343, allocations: 40 kB / 1.419 GB, free: 6.953 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001853/1.345, allocations: 1.013 MB / 1.42 GB, free: 5.941 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.345, allocations: 0 / 1.42 GB, free: 5.941 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005163/1.35, allocations: 1.133 MB / 1.421 GB, free: 4.809 MB / 1.107 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.0003049/1.35, allocations: 158.8 kB / 1.421 GB, free: 4.645 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006402/1.357, allocations: 3.879 MB / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.357, allocations: 0 / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/1.358, allocations: 1.028 MB / 1.426 GB, free: 15.75 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.361, allocations: 451 kB / 1.427 GB, free: 15.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.375, allocations: 7.106 MB / 1.434 GB, free: 8.043 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004878/1.38, allocations: 2.868 MB / 1.436 GB, free: 5.145 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003509/1.383, allocations: 1.231 MB / 1.438 GB, free: 3.906 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/1.384, allocations: 123.4 kB / 1.438 GB, free: 3.785 MB / 1.123 GB Notification: Performance of SimCode: time 1.012e-06/1.384, allocations: 0 / 1.438 GB, free: 3.785 MB / 1.123 GB Notification: Performance of Templates: time 0.04898/1.433, allocations: 26.17 MB / 1.463 GB, free: 9.824 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches