Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0009106/0.0009107, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001045/0.001045, allocations: 168.7 kB / 15.95 MB, free: 204 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.519/1.519, allocations: 223.3 MB / 240 MB, free: 5.309 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.824/2.824, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003904, allocations: 15.92 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7666, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03937/0.806, allocations: 33.92 MB / 1.056 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.8286, allocations: 12.83 MB / 1.068 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005668/0.8344, allocations: 99.62 kB / 1.068 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.8372, allocations: 0.5816 MB / 1.069 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.8418, allocations: 1.097 MB / 1.07 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00656/0.8484, allocations: 1.515 MB / 1.071 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.8593, allocations: 7.277 MB / 1.078 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01805/0.8774, allocations: 10.06 MB / 1.088 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.8815, allocations: 1.861 MB / 1.09 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.887, allocations: 2.652 MB / 1.093 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.8883, allocations: 252 kB / 1.093 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.8916, allocations: 0.5386 MB / 1.093 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003957/0.8955, allocations: 1.992 MB / 1.095 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.8982, allocations: 0.8161 MB / 1.096 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.9085, allocations: 7.654 MB / 1.104 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.9086, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.208e-06/0.9086, allocations: 4 kB / 1.104 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004301/0.909, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.8575 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.01181/0.9209, allocations: 3.432 MB / 1.107 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.9209, allocations: 8.562 kB / 1.107 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/0.9259, allocations: 0.9511 MB / 1.108 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.9308, allocations: 2.143 MB / 1.11 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.9312, allocations: 324.6 kB / 1.11 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.9326, allocations: 439.8 kB / 1.111 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.9465, allocations: 7.322 MB / 1.118 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.531e-05/0.9466, allocations: 11.88 kB / 1.118 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000444/0.947, allocations: 184 kB / 1.118 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003418/0.9474, allocations: 290.9 kB / 1.118 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.9581, allocations: 5.928 MB / 1.124 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/0.9988, allocations: 32.63 MB / 1.156 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.002, allocations: 2.111 MB / 1.158 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/1.004, allocations: 1.236 MB / 1.159 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.004, allocations: 114.1 kB / 1.159 GB, free: 264 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.004, allocations: 47.5 kB / 1.159 GB, free: 204 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/1.004, allocations: 0 / 1.159 GB, free: 204 kB / 0.9044 GB Notification: Performance of matching and sorting (n=101): time 0.0078/1.012, allocations: 5.223 MB / 1.164 GB, free: 10.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/1.012, allocations: 149.4 kB / 1.165 GB, free: 10.76 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.014, allocations: 1.441 MB / 1.166 GB, free: 9.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.014, allocations: 45.7 kB / 1.166 GB, free: 9.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.015, allocations: 1.855 MB / 1.168 GB, free: 7.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/1.016, allocations: 382.8 kB / 1.168 GB, free: 6.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/1.016, allocations: 47.94 kB / 1.168 GB, free: 6.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.016, allocations: 390 kB / 1.169 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.017, allocations: 1.101 MB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/1.02, allocations: 2.176 MB / 1.172 GB, free: 2.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.022, allocations: 1.525 MB / 1.173 GB, free: 1.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.022, allocations: 8 kB / 1.173 GB, free: 1.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005675/1.028, allocations: 3.297 MB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/1.029, allocations: 1.075 MB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.029, allocations: 39.95 kB / 1.178 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.331e-05/1.029, allocations: 56 kB / 1.178 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.031, allocations: 0.6161 MB / 1.178 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.014e-05/1.031, allocations: 71.72 kB / 1.178 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.033, allocations: 310.7 kB / 1.179 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/1.034, allocations: 116 kB / 1.179 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.034, allocations: 5.719 kB / 1.179 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004335/1.038, allocations: 2.734 MB / 1.181 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/1.038, allocations: 40.03 kB / 1.182 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-05/1.038, allocations: 52 kB / 1.182 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.04, allocations: 0.5536 MB / 1.182 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.183e-05/1.04, allocations: 67.72 kB / 1.182 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.041, allocations: 223.2 kB / 1.182 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.042, allocations: 112 kB / 1.183 GB, free: 7.387 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003229/1.045, allocations: 1.71 MB / 1.184 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/1.045, allocations: 162 kB / 1.184 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/1.049, allocations: 2.23 MB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.049, allocations: 12 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.049, allocations: 0 / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.049, allocations: 7.984 kB / 1.187 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.065, allocations: 10.97 MB / 1.197 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.065, allocations: 12 kB / 1.197 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.066, allocations: 387.5 kB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/1.066, allocations: 16 kB / 1.198 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/1.066, allocations: 36 kB / 1.198 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-05/1.066, allocations: 23.92 kB / 1.198 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/1.066, allocations: 19.88 kB / 1.198 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/1.07, allocations: 2.755 MB / 1.2 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/1.07, allocations: 466.8 kB / 1.201 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.071, allocations: 35.92 kB / 1.201 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/1.072, allocations: 163.7 kB / 1.201 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.072, allocations: 100.2 kB / 1.201 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/1.072, allocations: 40 kB / 1.201 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001375/1.073, allocations: 0.9664 MB / 1.202 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.073, allocations: 3.938 kB / 1.202 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00414/1.077, allocations: 1.125 MB / 1.203 GB, free: 1.719 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002451/1.078, allocations: 150.9 kB / 1.203 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005955/1.084, allocations: 3.961 MB / 1.207 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.084, allocations: 4 kB / 1.207 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.085, allocations: 1.056 MB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.087, allocations: 404.2 kB / 1.209 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.099, allocations: 8.492 MB / 1.217 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/1.102, allocations: 2.864 MB / 1.22 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00297/1.105, allocations: 1.207 MB / 1.221 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/1.105, allocations: 119.4 kB / 1.221 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/1.105, allocations: 0 / 1.221 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.04699/1.152, allocations: 22.91 MB / 1.243 GB, free: 8.555 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches