Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009316/0.009316, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.002063/0.002064, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 68.12 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3601, allocations: 157.4 MB / 1.208 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02387/0.384, allocations: 20.42 MB / 1.228 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3965, allocations: 7.701 MB / 1.235 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.3984, allocations: 59.81 kB / 1.235 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.4021, allocations: 1.364 MB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.4049, allocations: 0.9958 MB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.4099, allocations: 2.005 MB / 1.24 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005213/0.4152, allocations: 4.323 MB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6147/1.03, allocations: 6.153 MB / 1.25 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/1.033, allocations: 1.869 MB / 1.252 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/1.036, allocations: 2.193 MB / 1.254 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000573/1.036, allocations: 429.3 kB / 1.254 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/1.038, allocations: 0.946 MB / 1.255 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/1.039, allocations: 1.651 MB / 1.257 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/1.041, allocations: 1.716 MB / 1.258 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00748/1.048, allocations: 6.186 MB / 1.264 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.048, allocations: 4 kB / 1.264 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/1.048, allocations: 1.094 kB / 1.264 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001652/1.049, allocations: 0 / 1.264 GB, free: 11.57 MB / 0.9981 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.008072/1.057, allocations: 3.054 MB / 1.267 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.057, allocations: 10.06 kB / 1.267 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/1.061, allocations: 0.7524 MB / 1.268 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/1.065, allocations: 1.564 MB / 1.27 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/1.065, allocations: 216 kB / 1.27 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006346/1.065, allocations: 289.1 kB / 1.27 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.076, allocations: 5.085 MB / 1.275 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.362e-05/1.076, allocations: 15.58 kB / 1.275 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/1.076, allocations: 123.7 kB / 1.275 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003376/1.077, allocations: 206.9 kB / 1.275 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008871/1.086, allocations: 4.226 MB / 1.28 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/1.114, allocations: 22.93 MB / 1.302 GB, free: 9.176 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/1.118, allocations: 1.736 MB / 1.304 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/1.12, allocations: 1.152 MB / 1.305 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/1.12, allocations: 106 kB / 1.305 GB, free: 8.078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.121, allocations: 45.8 kB / 1.305 GB, free: 8.031 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.487e-06/1.121, allocations: 0 / 1.305 GB, free: 8.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.008466/1.129, allocations: 4.007 MB / 1.309 GB, free: 6.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/1.129, allocations: 142 kB / 1.309 GB, free: 5.875 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.131, allocations: 0.8632 MB / 1.31 GB, free: 5.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.131, allocations: 42.11 kB / 1.31 GB, free: 5.477 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/1.131, allocations: 1.158 MB / 1.311 GB, free: 4.602 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.132, allocations: 311.4 kB / 1.311 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005384/1.132, allocations: 282.4 kB / 1.312 GB, free: 4.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.133, allocations: 406.3 kB / 1.312 GB, free: 3.887 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.134, allocations: 0.823 MB / 1.313 GB, free: 3.609 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/1.136, allocations: 1.314 MB / 1.314 GB, free: 2.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/1.139, allocations: 2.168 MB / 1.316 GB, free: 1.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.139, allocations: 7.844 kB / 1.316 GB, free: 1.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004196/1.143, allocations: 2.205 MB / 1.318 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.143, allocations: 12.02 kB / 1.318 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.143, allocations: 18.03 kB / 1.318 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.727e-05/1.143, allocations: 21.34 kB / 1.318 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.145, allocations: 419.7 kB / 1.319 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/1.145, allocations: 31.38 kB / 1.319 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.147, allocations: 210.2 kB / 1.319 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.147, allocations: 60.27 kB / 1.319 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003406/1.15, allocations: 1.683 MB / 1.321 GB, free: 64 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/1.152, allocations: 1.19 MB / 1.322 GB, free: 15.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002862/1.155, allocations: 1.901 MB / 1.324 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.995e-05/1.155, allocations: 4.375 kB / 1.324 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003686/1.159, allocations: 1.932 MB / 1.326 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.159, allocations: 10.56 kB / 1.326 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.159, allocations: 15.56 kB / 1.326 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/1.159, allocations: 30.42 kB / 1.326 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.16, allocations: 365.9 kB / 1.326 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/1.16, allocations: 32.2 kB / 1.326 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.162, allocations: 173.3 kB / 1.326 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.162, allocations: 60.2 kB / 1.326 GB, free: 12.64 MB / 1.029 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.0003656/1.162, allocations: 270 kB / 1.326 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.162, allocations: 99.69 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.165, allocations: 1.853 MB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.165, allocations: 10.12 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/1.165, allocations: 1.219 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.166, allocations: 9.312 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.179, allocations: 9.585 MB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.179, allocations: 13.03 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.181, allocations: 317.4 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/1.181, allocations: 14.19 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/1.181, allocations: 37.36 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/1.181, allocations: 17.44 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.181, allocations: 23.91 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/1.184, allocations: 2.399 MB / 1.341 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008691/1.184, allocations: 375.3 kB / 1.341 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.185, allocations: 32.48 kB / 1.341 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.186, allocations: 136.7 kB / 1.341 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.186, allocations: 102.1 kB / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/1.186, allocations: 38.66 kB / 1.341 GB, free: 3.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001125/1.187, allocations: 0.612 MB / 1.342 GB, free: 3.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.11e-07/1.187, allocations: 0 / 1.342 GB, free: 3.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003663/1.191, allocations: 0.7548 MB / 1.342 GB, free: 2.953 MB / 1.029 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.0002639/1.191, allocations: 155.6 kB / 1.343 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004875/1.196, allocations: 2.903 MB / 1.345 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.196, allocations: 2.438 kB / 1.345 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.197, allocations: 0.9092 MB / 1.346 GB, free: 1.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.2, allocations: 303.6 kB / 1.347 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.211, allocations: 4.97 MB / 1.352 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/1.214, allocations: 2.125 MB / 1.354 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002289/1.216, allocations: 0.754 MB / 1.354 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/1.217, allocations: 87.41 kB / 1.354 GB, free: 11.28 MB / 1.045 GB Notification: Performance of SimCode: time 1.021e-06/1.217, allocations: 0 / 1.354 GB, free: 11.28 MB / 1.045 GB Notification: Performance of Templates: time 0.03379/1.251, allocations: 18.37 MB / 1.372 GB, free: 9.172 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches