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.00803/0.00803, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001573/0.001574, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 2.779/2.779, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 56.05 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3353, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02499/0.3603, allocations: 20.43 MB / 1.187 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3759, allocations: 7.686 MB / 1.194 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3784, allocations: 59.81 kB / 1.194 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.3826, allocations: 1.361 MB / 1.195 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3857, allocations: 1.019 MB / 1.196 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005999/0.3918, allocations: 1.987 MB / 1.198 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005963/0.3977, allocations: 4.347 MB / 1.203 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009486/0.4072, allocations: 6.157 MB / 1.209 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.4103, allocations: 1.862 MB / 1.21 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004049/0.4144, allocations: 2.205 MB / 1.213 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.4157, allocations: 432 kB / 1.213 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.4184, allocations: 0.9441 MB / 1.214 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003106/0.4215, allocations: 1.649 MB / 1.216 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00458/0.4261, allocations: 1.712 MB / 1.217 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009612/0.4358, allocations: 6.207 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4358, allocations: 0 / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.318e-06/0.4358, allocations: 0 / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002356/0.4361, allocations: 3.938 kB / 1.223 GB, free: 12.55 MB / 0.9825 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.008604/0.4447, allocations: 3.11 MB / 1.226 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4447, allocations: 15.97 kB / 1.226 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.4484, allocations: 0.76 MB / 1.227 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.4514, allocations: 1.575 MB / 1.229 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.4516, allocations: 218.1 kB / 1.229 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.4521, allocations: 288.3 kB / 1.229 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00883/0.4609, allocations: 5.078 MB / 1.234 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.461, allocations: 11.94 kB / 1.234 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.4614, allocations: 128 kB / 1.234 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/0.4617, allocations: 208.6 kB / 1.234 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.4689, allocations: 4.22 MB / 1.239 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8276/1.297, allocations: 22.96 MB / 1.261 GB, free: 67.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/1.301, allocations: 1.723 MB / 1.263 GB, free: 67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/1.303, allocations: 1.156 MB / 1.264 GB, free: 66.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/1.304, allocations: 96.97 kB / 1.264 GB, free: 66.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.304, allocations: 51.05 kB / 1.264 GB, free: 66.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 4.028e-06/1.304, allocations: 0 / 1.264 GB, free: 66.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.009173/1.313, allocations: 4.12 MB / 1.268 GB, free: 64.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/1.313, allocations: 142.8 kB / 1.268 GB, free: 64.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/1.315, allocations: 0.8674 MB / 1.269 GB, free: 63.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/1.315, allocations: 41.02 kB / 1.269 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009637/1.316, allocations: 1.201 MB / 1.27 GB, free: 63.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/1.316, allocations: 323.8 kB / 1.27 GB, free: 62.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/1.317, allocations: 280.9 kB / 1.271 GB, free: 62.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.317, allocations: 401.4 kB / 1.271 GB, free: 62.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.319, allocations: 0.8253 MB / 1.272 GB, free: 62.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/1.321, allocations: 1.311 MB / 1.273 GB, free: 61.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/1.324, allocations: 2.166 MB / 1.275 GB, free: 60.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.324, allocations: 4.891 kB / 1.275 GB, free: 60.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004125/1.328, allocations: 2.216 MB / 1.277 GB, free: 59.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.328, allocations: 10.88 kB / 1.277 GB, free: 59.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.328, allocations: 18.69 kB / 1.277 GB, free: 59.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-05/1.328, allocations: 24.62 kB / 1.277 GB, free: 59.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.33, allocations: 411.7 kB / 1.278 GB, free: 59.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.136e-05/1.33, allocations: 32.08 kB / 1.278 GB, free: 59.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.332, allocations: 217.5 kB / 1.278 GB, free: 59.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.332, allocations: 63.52 kB / 1.278 GB, free: 59.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003238/1.335, allocations: 1.678 MB / 1.28 GB, free: 58.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001388/1.336, allocations: 1.188 MB / 1.281 GB, free: 57.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00262/1.339, allocations: 1.897 MB / 1.283 GB, free: 56.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-05/1.339, allocations: 8.109 kB / 1.283 GB, free: 56.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003535/1.343, allocations: 1.935 MB / 1.285 GB, free: 55.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.343, allocations: 11.34 kB / 1.285 GB, free: 55.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.343, allocations: 15.53 kB / 1.285 GB, free: 55.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.343, allocations: 25.34 kB / 1.285 GB, free: 55.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.344, allocations: 366.5 kB / 1.285 GB, free: 55.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.585e-05/1.344, allocations: 29.25 kB / 1.285 GB, free: 55.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.346, allocations: 181 kB / 1.285 GB, free: 55.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.346, allocations: 61.45 kB / 1.285 GB, free: 55.59 MB / 0.9981 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.0004749/1.346, allocations: 269.4 kB / 1.286 GB, free: 55.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/1.346, allocations: 112.6 kB / 1.286 GB, free: 55.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.35, allocations: 1.848 MB / 1.288 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/1.35, allocations: 9.562 kB / 1.288 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.35, allocations: 1.703 kB / 1.288 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.35, allocations: 8.062 kB / 1.288 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.367, allocations: 9.606 MB / 1.297 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.367, allocations: 14.53 kB / 1.297 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.368, allocations: 307.9 kB / 1.297 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/1.368, allocations: 15.22 kB / 1.297 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/1.368, allocations: 29.81 kB / 1.297 GB, free: 50.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/1.368, allocations: 21.78 kB / 1.297 GB, free: 50.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.967e-05/1.368, allocations: 21.92 kB / 1.297 GB, free: 50.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/1.372, allocations: 2.409 MB / 1.3 GB, free: 49.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/1.373, allocations: 384.5 kB / 1.3 GB, free: 49.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.373, allocations: 31.89 kB / 1.3 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.374, allocations: 145.5 kB / 1.3 GB, free: 49.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/1.374, allocations: 95.95 kB / 1.3 GB, free: 48.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/1.374, allocations: 34.97 kB / 1.3 GB, free: 48.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001028/1.375, allocations: 0.6154 MB / 1.301 GB, free: 48.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.375, allocations: 4 kB / 1.301 GB, free: 48.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003811/1.379, allocations: 0.75 MB / 1.302 GB, free: 48.68 MB / 0.9981 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.0002703/1.379, allocations: 147.7 kB / 1.302 GB, free: 48.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005164/1.384, allocations: 2.9 MB / 1.305 GB, free: 47.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.384, allocations: 1.094 kB / 1.305 GB, free: 47.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.386, allocations: 0.9196 MB / 1.306 GB, free: 47.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.388, allocations: 309.5 kB / 1.306 GB, free: 47.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.397, allocations: 5.051 MB / 1.311 GB, free: 44.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/1.399, allocations: 2.133 MB / 1.313 GB, free: 43.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002145/1.401, allocations: 0.7446 MB / 1.314 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/1.402, allocations: 82.86 kB / 1.314 GB, free: 43.09 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.402, allocations: 1.062 kB / 1.314 GB, free: 43.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.02651/1.428, allocations: 18.27 MB / 1.332 GB, free: 30.93 MB / 0.9981 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=480 -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