Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.000869, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005421/0.005421, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 8.844 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03721/0.3239, allocations: 36.03 MB / 1.094 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.3448, allocations: 13.64 MB / 1.107 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.3481, allocations: 99.56 kB / 1.107 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.35, allocations: 0.6012 MB / 1.108 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.3538, allocations: 1.351 MB / 1.109 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.3587, allocations: 1.932 MB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009529/0.3682, allocations: 9.581 MB / 1.121 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.386, allocations: 11.92 MB / 1.132 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.3896, allocations: 1.837 MB / 1.134 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004708/0.3943, allocations: 2.714 MB / 1.137 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3953, allocations: 252 kB / 1.137 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.3982, allocations: 1.076 MB / 1.138 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.4011, allocations: 2.003 MB / 1.14 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003692/0.4048, allocations: 2.023 MB / 1.142 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009462/0.4143, allocations: 8.691 MB / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4143, allocations: 0 / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4143, allocations: 0 / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002189/0.4146, allocations: 0 / 1.15 GB, free: 6.797 MB / 0.9044 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.006965/0.4215, allocations: 3.409 MB / 1.154 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4216, allocations: 11.97 kB / 1.154 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000905/0.4225, allocations: 0.6365 MB / 1.154 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.427, allocations: 1.034 MB / 1.155 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.4304, allocations: 2.198 MB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.4307, allocations: 325 kB / 1.158 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000685/0.4313, allocations: 428.3 kB / 1.158 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.4446, allocations: 7.404 MB / 1.165 GB, free: 7 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.116e-05/0.4447, allocations: 23.77 kB / 1.165 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004361/0.4452, allocations: 180 kB / 1.166 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003097/0.4455, allocations: 290.9 kB / 1.166 GB, free: 6.516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00972/0.4552, allocations: 6.026 MB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.4875, allocations: 32.71 MB / 1.204 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.4908, allocations: 2.146 MB / 1.206 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.4924, allocations: 1.244 MB / 1.207 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.4926, allocations: 110.1 kB / 1.207 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4926, allocations: 43.56 kB / 1.207 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=98): time 3.086e-06/0.4926, allocations: 4 kB / 1.207 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=101): time 0.007111/0.4997, allocations: 5.282 MB / 1.212 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.4998, allocations: 145.5 kB / 1.212 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.5016, allocations: 1.472 MB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.5018, allocations: 41.7 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.5029, allocations: 1.863 MB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.5032, allocations: 375 kB / 1.216 GB, free: 8 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.5035, allocations: 169.7 kB / 1.216 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5036, allocations: 301.1 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.5053, allocations: 1.144 MB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.5078, allocations: 2.215 MB / 1.22 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.5119, allocations: 3.442 MB / 1.223 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.5119, allocations: 8 kB / 1.223 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004992/0.5169, allocations: 3.37 MB / 1.226 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.5176, allocations: 1.092 MB / 1.228 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.5176, allocations: 36 kB / 1.228 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.214e-05/0.5177, allocations: 48 kB / 1.228 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.5199, allocations: 0.6356 MB / 1.228 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-05/0.5199, allocations: 63.73 kB / 1.228 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.5218, allocations: 330.6 kB / 1.229 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.522, allocations: 116 kB / 1.229 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.522, allocations: 4 kB / 1.229 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003957/0.526, allocations: 2.808 MB / 1.231 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.526, allocations: 36 kB / 1.232 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.729e-05/0.5261, allocations: 48 kB / 1.232 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.5279, allocations: 0.5616 MB / 1.232 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.128e-05/0.5279, allocations: 71.72 kB / 1.232 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5294, allocations: 247 kB / 1.232 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5296, allocations: 116 kB / 1.233 GB, free: 13.68 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00242/0.532, allocations: 1.702 MB / 1.234 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.5323, allocations: 154.1 kB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.5357, allocations: 2.254 MB / 1.237 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.5357, allocations: 8 kB / 1.237 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5357, allocations: 7.938 kB / 1.237 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5357, allocations: 3.984 kB / 1.237 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5506/1.086, allocations: 11 MB / 1.247 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.086, allocations: 15.41 kB / 1.247 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.088, allocations: 393.2 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/1.088, allocations: 16.62 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/1.088, allocations: 28 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-05/1.088, allocations: 23.95 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/1.088, allocations: 19 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.091, allocations: 2.765 MB / 1.25 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006063/1.091, allocations: 473 kB / 1.251 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.092, allocations: 33.97 kB / 1.251 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.093, allocations: 179.4 kB / 1.251 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.093, allocations: 98.73 kB / 1.251 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/1.093, allocations: 43.09 kB / 1.251 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00123/1.094, allocations: 1.002 MB / 1.252 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.094, allocations: 0 / 1.252 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00337/1.098, allocations: 1.138 MB / 1.253 GB, free: 168.9 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 (104): * Single equations (assignments): 104 * 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.003008/1.101, allocations: 3.345 MB / 1.257 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006278/1.107, allocations: 4.037 MB / 1.261 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.107, allocations: 3.5 kB / 1.261 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.108, allocations: 1.061 MB / 1.262 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.113, allocations: 419 kB / 1.262 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/1.145, allocations: 24.55 MB / 1.286 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/1.148, allocations: 2.873 MB / 1.289 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00323/1.151, allocations: 1.229 MB / 1.29 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.153, allocations: 1.278 MB / 1.291 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/1.153, allocations: 0 / 1.291 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.112/3.264, allocations: 45.2 MB / 1.335 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/3.265, allocations: 233.2 kB / 1.336 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/6.018, allocations: 1.719 kB / 1.336 GB, free: 116.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches