Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.59/1.59, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.072/3.072, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002016, allocations: 63.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.785, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02781/0.8128, allocations: 20.41 MB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.8281, allocations: 7.698 MB / 1.045 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.8308, allocations: 63.81 kB / 1.045 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/0.835, allocations: 1.357 MB / 1.046 GB, free: 4.852 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.8382, allocations: 0.9957 MB / 1.047 GB, free: 3.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.844, allocations: 2.004 MB / 1.049 GB, free: 1.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006816/0.8508, allocations: 4.331 MB / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008852/0.8597, allocations: 6.248 MB / 1.059 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.8631, allocations: 1.839 MB / 1.061 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/0.8672, allocations: 2.193 MB / 1.063 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.8685, allocations: 428 kB / 1.064 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.8709, allocations: 0.9402 MB / 1.065 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.8732, allocations: 1.657 MB / 1.066 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00301/0.8762, allocations: 1.72 MB / 1.068 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00813/0.8844, allocations: 6.143 MB / 1.074 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.8844, allocations: 3.938 kB / 1.074 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8844, allocations: 0 / 1.074 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001948/0.8846, allocations: 0 / 1.074 GB, free: 8.238 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008341/0.893, allocations: 3.044 MB / 1.077 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8931, allocations: 12.03 kB / 1.077 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.897, allocations: 0.7428 MB / 1.078 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.9001, allocations: 1.551 MB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.9003, allocations: 222.1 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/0.9009, allocations: 280.4 kB / 1.08 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.9111, allocations: 5.09 MB / 1.085 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.778e-05/0.9112, allocations: 7.938 kB / 1.085 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.9115, allocations: 120 kB / 1.085 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/0.9118, allocations: 204.6 kB / 1.085 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/0.9214, allocations: 4.228 MB / 1.089 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03467/0.9561, allocations: 23.09 MB / 1.112 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.9596, allocations: 1.723 MB / 1.113 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.9616, allocations: 1.139 MB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.9618, allocations: 97.73 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.9619, allocations: 51.16 kB / 1.115 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.467e-06/0.9619, allocations: 0 / 1.115 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.008583/0.9705, allocations: 4.009 MB / 1.118 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9707, allocations: 137.2 kB / 1.119 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.9723, allocations: 0.8681 MB / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.9725, allocations: 41.7 kB / 1.12 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009885/0.9735, allocations: 1.162 MB / 1.121 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.974, allocations: 311.5 kB / 1.121 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/0.9746, allocations: 278.6 kB / 1.121 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002692/0.9749, allocations: 410.7 kB / 1.122 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.9764, allocations: 0.8179 MB / 1.122 GB, free: 4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.9785, allocations: 1.314 MB / 1.124 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.982, allocations: 2.167 MB / 1.126 GB, free: 104 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.9821, allocations: 4 kB / 1.126 GB, free: 100 kB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004703/0.9868, allocations: 2.214 MB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.9868, allocations: 8 kB / 1.128 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.9869, allocations: 16 kB / 1.128 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.905e-05/0.9869, allocations: 20 kB / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.9887, allocations: 415.9 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-05/0.9888, allocations: 35.86 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.9905, allocations: 207.3 kB / 1.129 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.9907, allocations: 63.98 kB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003702/0.9944, allocations: 1.681 MB / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001827/0.9962, allocations: 1.19 MB / 1.132 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002932/0.9992, allocations: 1.906 MB / 1.133 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-05/0.9992, allocations: 7.938 kB / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003805/1.003, allocations: 1.926 MB / 1.135 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.003, allocations: 12.12 kB / 1.135 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/1.003, allocations: 20.16 kB / 1.135 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/1.003, allocations: 27.94 kB / 1.135 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.005, allocations: 359.4 kB / 1.136 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-05/1.005, allocations: 31.86 kB / 1.136 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.006, allocations: 187.3 kB / 1.136 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.006, allocations: 56 kB / 1.136 GB, free: 5.281 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004482/1.007, allocations: 267.8 kB / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/1.007, allocations: 98.78 kB / 1.136 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/1.01, allocations: 1.85 MB / 1.138 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.01, allocations: 16 kB / 1.138 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.01, allocations: 0 / 1.138 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.01, allocations: 3.984 kB / 1.138 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.025, allocations: 9.592 MB / 1.147 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/1.025, allocations: 12.22 kB / 1.147 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.027, allocations: 311.4 kB / 1.148 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/1.027, allocations: 16 kB / 1.148 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.027, allocations: 32 kB / 1.148 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-05/1.027, allocations: 27.86 kB / 1.148 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/1.027, allocations: 15.94 kB / 1.148 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/1.03, allocations: 2.394 MB / 1.15 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/1.031, allocations: 375.6 kB / 1.151 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.031, allocations: 39.89 kB / 1.151 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.033, allocations: 143.7 kB / 1.151 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.033, allocations: 91.67 kB / 1.151 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/1.033, allocations: 40 kB / 1.151 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001167/1.034, allocations: 0.616 MB / 1.151 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.034, allocations: 0 / 1.151 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003026/1.037, allocations: 0.7539 MB / 1.152 GB, free: 4.16 MB / 0.9044 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 (90): * Single equations (assignments): 90 * 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.0002847/1.037, allocations: 144.3 kB / 1.152 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005278/1.043, allocations: 3.045 MB / 1.155 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.043, allocations: 0 / 1.155 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/1.044, allocations: 0.9092 MB / 1.156 GB, free: 72 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.046, allocations: 314.5 kB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.057, allocations: 5.042 MB / 1.161 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/1.06, allocations: 2.127 MB / 1.163 GB, free: 8.383 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002651/1.063, allocations: 0.7461 MB / 1.164 GB, free: 7.633 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.063, allocations: 83.42 kB / 1.164 GB, free: 7.551 MB / 0.92 GB Notification: Performance of SimCode: time 3.296e-06/1.063, allocations: 0 / 1.164 GB, free: 7.551 MB / 0.92 GB Notification: Performance of Templates: time 0.0367/1.1, allocations: 17.93 MB / 1.182 GB, free: 5.777 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches