Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_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.001072/0.001072, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001122/0.001122, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 8 kB / 0.8146 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7638, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03711/0.801, allocations: 33.22 MB / 0.986 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.8234, allocations: 12.78 MB / 0.9985 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.8275, allocations: 95.56 kB / 0.9986 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.8306, allocations: 0.722 MB / 0.9993 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.8372, allocations: 1.464 MB / 1.001 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00707/0.8443, allocations: 2.124 MB / 1.003 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00648/0.8508, allocations: 2.952 MB / 1.006 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0173/0.8682, allocations: 10.04 MB / 1.016 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.872, allocations: 1.523 MB / 1.017 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.8758, allocations: 1.69 MB / 1.019 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.8771, allocations: 252 kB / 1.019 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.8799, allocations: 0.5385 MB / 1.019 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003978/0.8839, allocations: 1.828 MB / 1.021 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.8865, allocations: 0.8239 MB / 1.022 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.8966, allocations: 7.623 MB / 1.029 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8967, allocations: 0 / 1.029 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.679e-06/0.8967, allocations: 0 / 1.029 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000365/0.8971, allocations: 0 / 1.029 GB, free: 2.195 MB / 0.7794 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.01013/0.9072, allocations: 3.44 MB / 1.033 GB, free: 14.69 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9073, allocations: 8.031 kB / 1.033 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002505/0.9098, allocations: 0.6441 MB / 1.033 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.9153, allocations: 0.998 MB / 1.034 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00671/0.922, allocations: 2.143 MB / 1.037 GB, free: 10.83 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000456/0.9225, allocations: 332.6 kB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/0.9245, allocations: 431.8 kB / 1.037 GB, free: 10.08 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.9445, allocations: 7.291 MB / 1.044 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/0.9448, allocations: 11.88 kB / 1.044 GB, free: 2.535 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.9462, allocations: 180 kB / 1.045 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/0.9466, allocations: 294.9 kB / 1.045 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.9591, allocations: 5.924 MB / 1.051 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04653/1.006, allocations: 32.63 MB / 1.082 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/1.009, allocations: 2.111 MB / 1.085 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/1.01, allocations: 110.1 kB / 1.085 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.01, allocations: 43.56 kB / 1.085 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=98): time 2.896e-06/1.01, allocations: 0 / 1.085 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=101): time 0.008858/1.019, allocations: 5.227 MB / 1.09 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/1.019, allocations: 145.5 kB / 1.09 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/1.021, allocations: 1.449 MB / 1.091 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/1.021, allocations: 41.7 kB / 1.091 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.022, allocations: 1.863 MB / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/1.023, allocations: 370.9 kB / 1.094 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.023, allocations: 44 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.023, allocations: 409.8 kB / 1.094 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.025, allocations: 1.097 MB / 1.095 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/1.027, allocations: 2.168 MB / 1.097 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.03, allocations: 1.521 MB / 1.099 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/1.03, allocations: 8 kB / 1.099 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005281/1.035, allocations: 3.293 MB / 1.102 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.005369/1.04, allocations: 13.42 MB / 1.115 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.322e-05/1.04, allocations: 36 kB / 1.115 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.988e-05/1.04, allocations: 52 kB / 1.115 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/1.043, allocations: 0.6161 MB / 1.116 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.611e-05/1.043, allocations: 67.73 kB / 1.116 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.045, allocations: 310.7 kB / 1.116 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/1.046, allocations: 116 kB / 1.116 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.046, allocations: 7.938 kB / 1.116 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004606/1.05, allocations: 2.738 MB / 1.119 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.05, allocations: 36 kB / 1.119 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-05/1.05, allocations: 52 kB / 1.119 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.052, allocations: 0.5498 MB / 1.119 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.149e-05/1.052, allocations: 64.31 kB / 1.12 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.054, allocations: 231 kB / 1.12 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.054, allocations: 112 kB / 1.12 GB, free: 0.6133 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002756/1.057, allocations: 1.71 MB / 1.122 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/1.057, allocations: 158.1 kB / 1.122 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/1.061, allocations: 2.23 MB / 1.124 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/1.061, allocations: 12 kB / 1.124 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.061, allocations: 0 / 1.124 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.061, allocations: 11.92 kB / 1.124 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.077, allocations: 10.96 MB / 1.135 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/1.077, allocations: 12 kB / 1.135 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.079, allocations: 387.3 kB / 1.135 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/1.079, allocations: 16 kB / 1.135 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.079, allocations: 32 kB / 1.135 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/1.079, allocations: 23.92 kB / 1.135 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/1.079, allocations: 24.23 kB / 1.135 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/1.083, allocations: 3.47 MB / 1.138 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.084, allocations: 466.8 kB / 1.139 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/1.084, allocations: 35.98 kB / 1.139 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.085, allocations: 163.7 kB / 1.139 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.086, allocations: 104.2 kB / 1.139 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/1.086, allocations: 40 kB / 1.139 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001499/1.087, allocations: 0.9586 MB / 1.14 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 1.14 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004372/1.092, allocations: 1.129 MB / 1.141 GB, free: 9.887 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005129/1.097, allocations: 7.284 MB / 1.148 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006248/1.103, allocations: 3.958 MB / 1.152 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.103, allocations: 3.938 kB / 1.152 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/1.105, allocations: 1.056 MB / 1.153 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.107, allocations: 398 kB / 1.154 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/1.144, allocations: 39.82 MB / 1.193 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005388/1.15, allocations: 2.932 MB / 1.195 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003432/1.153, allocations: 1.204 MB / 1.197 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/1.155, allocations: 1.284 MB / 1.198 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of SimCode: time 1.302e-06/1.155, allocations: 0 / 1.198 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08458/1.24, allocations: 45.89 MB / 1.243 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/1.24, allocations: 195 kB / 1.243 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.757, allocations: 8.062 kB / 1.243 GB, free: 0.6719 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat