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.008886/0.008886, allocations: 100.2 kB / 15.73 MB, free: 6.496 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.001631/0.001631, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.61/1.61, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.69/2.69, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.353, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02638/0.3794, allocations: 20.42 MB / 1.187 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3949, allocations: 7.694 MB / 1.194 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.3977, allocations: 59.81 kB / 1.194 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004301/0.4021, allocations: 1.353 MB / 1.195 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.4056, allocations: 1.004 MB / 1.196 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.4115, allocations: 1.995 MB / 1.198 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006386/0.4179, allocations: 4.331 MB / 1.203 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009854/0.4278, allocations: 6.161 MB / 1.209 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.4315, allocations: 1.847 MB / 1.21 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004724/0.4362, allocations: 2.205 MB / 1.213 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.438, allocations: 431.9 kB / 1.213 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.4421, allocations: 0.944 MB / 1.214 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003387/0.4455, allocations: 1.645 MB / 1.216 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004969/0.4505, allocations: 1.716 MB / 1.217 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.4611, allocations: 6.203 MB / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4612, allocations: 0 / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4612, allocations: 0 / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002684/0.4614, allocations: 4 kB / 1.223 GB, free: 12.58 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.01089/0.4723, allocations: 3.114 MB / 1.226 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4724, allocations: 8.031 kB / 1.226 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.4771, allocations: 0.7639 MB / 1.227 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.481, allocations: 1.575 MB / 1.229 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.4813, allocations: 222.1 kB / 1.229 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.4828, allocations: 280.4 kB / 1.229 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.496, allocations: 5.086 MB / 1.234 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.4962, allocations: 11.94 kB / 1.234 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.4972, allocations: 124 kB / 1.234 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.4976, allocations: 212.6 kB / 1.234 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.508, allocations: 4.22 MB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8077/1.316, allocations: 22.95 MB / 1.261 GB, free: 67.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/1.319, allocations: 1.723 MB / 1.263 GB, free: 67.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/1.321, allocations: 1.153 MB / 1.264 GB, free: 66.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/1.321, allocations: 103.1 kB / 1.264 GB, free: 66.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.321, allocations: 45.97 kB / 1.264 GB, free: 66.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.206e-06/1.321, allocations: 0 / 1.264 GB, free: 66.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.008344/1.33, allocations: 4.116 MB / 1.268 GB, free: 64.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.33, allocations: 142.9 kB / 1.268 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/1.331, allocations: 0.8697 MB / 1.269 GB, free: 64.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/1.331, allocations: 42.59 kB / 1.269 GB, free: 63.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/1.332, allocations: 1.198 MB / 1.27 GB, free: 63.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/1.332, allocations: 328.2 kB / 1.27 GB, free: 63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/1.333, allocations: 278.7 kB / 1.271 GB, free: 62.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.333, allocations: 403.5 kB / 1.271 GB, free: 62.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.335, allocations: 0.8249 MB / 1.272 GB, free: 62.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.337, allocations: 1.313 MB / 1.273 GB, free: 61.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/1.34, allocations: 2.164 MB / 1.275 GB, free: 60.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/1.34, allocations: 4.5 kB / 1.275 GB, free: 60.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00407/1.344, allocations: 2.221 MB / 1.277 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.344, allocations: 11.25 kB / 1.277 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.344, allocations: 18.41 kB / 1.277 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/1.344, allocations: 21.92 kB / 1.277 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.346, allocations: 409.8 kB / 1.278 GB, free: 59.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/1.346, allocations: 32.09 kB / 1.278 GB, free: 59.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.347, allocations: 219.3 kB / 1.278 GB, free: 59.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.347, allocations: 66.2 kB / 1.278 GB, free: 59.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002927/1.35, allocations: 1.679 MB / 1.28 GB, free: 58.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001343/1.351, allocations: 1.187 MB / 1.281 GB, free: 57.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002482/1.354, allocations: 1.895 MB / 1.283 GB, free: 56.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.674e-05/1.354, allocations: 7.875 kB / 1.283 GB, free: 56.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003316/1.357, allocations: 1.935 MB / 1.285 GB, free: 55.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.357, allocations: 12.52 kB / 1.285 GB, free: 55.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.357, allocations: 14.97 kB / 1.285 GB, free: 55.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/1.357, allocations: 26.44 kB / 1.285 GB, free: 55.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.359, allocations: 369.7 kB / 1.285 GB, free: 55.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.312e-05/1.359, allocations: 30.77 kB / 1.285 GB, free: 55.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.36, allocations: 181.7 kB / 1.285 GB, free: 55.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/1.361, allocations: 58.39 kB / 1.285 GB, free: 55.65 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.0005817/1.361, allocations: 265.4 kB / 1.286 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/1.362, allocations: 109 kB / 1.286 GB, free: 55.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/1.366, allocations: 1.851 MB / 1.288 GB, free: 54.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.366, allocations: 9.031 kB / 1.288 GB, free: 54.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.366, allocations: 1.859 kB / 1.288 GB, free: 54.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.366, allocations: 9.656 kB / 1.288 GB, free: 54.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/1.383, allocations: 9.599 MB / 1.297 GB, free: 50.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.383, allocations: 12.8 kB / 1.297 GB, free: 50.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.384, allocations: 310.3 kB / 1.297 GB, free: 50.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-05/1.384, allocations: 15.59 kB / 1.297 GB, free: 50.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.385, allocations: 31.31 kB / 1.297 GB, free: 50.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.147e-05/1.385, allocations: 22.81 kB / 1.297 GB, free: 50.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/1.385, allocations: 20.56 kB / 1.297 GB, free: 50.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/1.388, allocations: 2.411 MB / 1.3 GB, free: 49.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.39, allocations: 384 kB / 1.3 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.39, allocations: 32.17 kB / 1.3 GB, free: 49.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.391, allocations: 145.1 kB / 1.3 GB, free: 49.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/1.392, allocations: 96.3 kB / 1.3 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.392, allocations: 34.47 kB / 1.3 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001376/1.393, allocations: 0.6194 MB / 1.301 GB, free: 48.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.393, allocations: 0 / 1.301 GB, free: 48.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004345/1.397, allocations: 0.7504 MB / 1.302 GB, free: 48.74 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.0003069/1.398, allocations: 145.4 kB / 1.302 GB, free: 48.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007479/1.405, allocations: 2.899 MB / 1.305 GB, free: 47.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.712e-05/1.405, allocations: 10.12 kB / 1.305 GB, free: 47.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.408, allocations: 0.9114 MB / 1.306 GB, free: 47.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.412, allocations: 306.7 kB / 1.306 GB, free: 47.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.423, allocations: 5.053 MB / 1.311 GB, free: 44.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.426, allocations: 2.133 MB / 1.313 GB, free: 43.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00231/1.429, allocations: 0.7448 MB / 1.314 GB, free: 43.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/1.429, allocations: 86.78 kB / 1.314 GB, free: 43.17 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.429, allocations: 0 / 1.314 GB, free: 43.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.03463/1.464, allocations: 18.26 MB / 1.331 GB, free: 30.99 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