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.0007731/0.0007731, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008182/0.0008183, allocations: 168.7 kB / 15.95 MB, free: 200 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.499/1.499, allocations: 223.2 MB / 240 MB, free: 5.402 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.571/2.571, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003847, allocations: 16 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7164, allocations: 142.3 MB / 0.9539 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03746/0.7539, allocations: 33.9 MB / 0.987 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.7774, allocations: 12.84 MB / 0.9995 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.7817, allocations: 95.62 kB / 0.9996 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.784, allocations: 0.5777 MB / 1 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.7879, allocations: 1.093 MB / 1.001 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.7933, allocations: 1.515 MB / 1.003 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009515/0.8028, allocations: 7.281 MB / 1.01 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01935/0.8222, allocations: 10.06 MB / 1.02 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.826, allocations: 1.868 MB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.8309, allocations: 2.644 MB / 1.024 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.8321, allocations: 252 kB / 1.024 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.8347, allocations: 0.5386 MB / 1.025 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003964/0.8386, allocations: 1.999 MB / 1.027 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.8412, allocations: 0.8122 MB / 1.028 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00965/0.8509, allocations: 7.646 MB / 1.035 GB, free: 12.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.8509, allocations: 0 / 1.035 GB, free: 12.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8509, allocations: 0 / 1.035 GB, free: 12.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003098/0.8512, allocations: 0 / 1.035 GB, free: 12.86 MB / 0.795 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.009087/0.8603, allocations: 3.452 MB / 1.038 GB, free: 9.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8604, allocations: 8.031 kB / 1.038 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002609/0.863, allocations: 0.6364 MB / 1.039 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.8684, allocations: 0.9473 MB / 1.04 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.8739, allocations: 2.151 MB / 1.042 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.8744, allocations: 324.6 kB / 1.042 GB, free: 5.211 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.8763, allocations: 435.8 kB / 1.043 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.8985, allocations: 7.318 MB / 1.05 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002413/0.8988, allocations: 11.94 kB / 1.05 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/0.9003, allocations: 188 kB / 1.05 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005071/0.9008, allocations: 290.9 kB / 1.05 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.9154, allocations: 5.924 MB / 1.056 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04973/0.9652, allocations: 32.63 MB / 1.088 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004021/0.9692, allocations: 2.111 MB / 1.09 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.9711, allocations: 1.247 MB / 1.091 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.9714, allocations: 102 kB / 1.091 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.9714, allocations: 43.56 kB / 1.091 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=98): time 4.168e-06/0.9714, allocations: 4 kB / 1.091 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101): time 0.01049/0.9819, allocations: 5.223 MB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9821, allocations: 137.5 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.9846, allocations: 1.449 MB / 1.098 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.9849, allocations: 49.64 kB / 1.098 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.9866, allocations: 1.863 MB / 1.1 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/0.9871, allocations: 370.9 kB / 1.1 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.9873, allocations: 44 kB / 1.1 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003786/0.9877, allocations: 397.9 kB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.9898, allocations: 1.101 MB / 1.102 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.9926, allocations: 2.176 MB / 1.104 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.9951, allocations: 1.529 MB / 1.105 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/0.9952, allocations: 12 kB / 1.105 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006386/1.002, allocations: 3.292 MB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/1.003, allocations: 1.088 MB / 1.11 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-05/1.003, allocations: 32 kB / 1.11 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.82e-05/1.003, allocations: 52 kB / 1.11 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.005, allocations: 0.62 MB / 1.11 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-05/1.006, allocations: 67.78 kB / 1.11 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.008, allocations: 310.8 kB / 1.111 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.008, allocations: 115.9 kB / 1.111 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.008, allocations: 4 kB / 1.111 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004905/1.013, allocations: 2.734 MB / 1.114 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.013, allocations: 32 kB / 1.114 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-05/1.013, allocations: 52 kB / 1.114 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.015, allocations: 0.5582 MB / 1.114 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-05/1.015, allocations: 71.73 kB / 1.114 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.017, allocations: 223 kB / 1.114 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/1.017, allocations: 112 kB / 1.115 GB, free: 6.945 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.003098/1.02, allocations: 1.71 MB / 1.116 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/1.021, allocations: 158.1 kB / 1.116 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/1.024, allocations: 2.238 MB / 1.119 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.024, allocations: 8 kB / 1.119 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.024, allocations: 4 kB / 1.119 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/1.024, allocations: 7.969 kB / 1.119 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.041, allocations: 10.97 MB / 1.129 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.041, allocations: 12 kB / 1.129 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.043, allocations: 387.3 kB / 1.13 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/1.043, allocations: 19.98 kB / 1.13 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.043, allocations: 35.98 kB / 1.13 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/1.043, allocations: 24.41 kB / 1.13 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.043, allocations: 19.94 kB / 1.13 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/1.046, allocations: 2.744 MB / 1.132 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/1.047, allocations: 478.7 kB / 1.133 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/1.048, allocations: 32 kB / 1.133 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.049, allocations: 163.7 kB / 1.133 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.049, allocations: 104.1 kB / 1.133 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/1.049, allocations: 40 kB / 1.133 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001737/1.051, allocations: 0.9586 MB / 1.134 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.051, allocations: 0 / 1.134 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00483/1.056, allocations: 1.133 MB / 1.135 GB, free: 1.266 MB / 0.8887 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.004072/1.06, allocations: 3.344 MB / 1.139 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006228/1.066, allocations: 3.957 MB / 1.142 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.066, allocations: 4.875 kB / 1.142 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/1.068, allocations: 1.059 MB / 1.143 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.07, allocations: 405 kB / 1.144 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.101, allocations: 16.74 MB / 1.16 GB, free: 6.652 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/1.105, allocations: 2.864 MB / 1.163 GB, free: 3.758 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003252/1.109, allocations: 1.204 MB / 1.164 GB, free: 2.547 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/1.111, allocations: 1.292 MB / 1.165 GB, free: 1.258 MB / 0.92 GB Notification: Performance of SimCode: time 1.032e-06/1.111, allocations: 0 / 1.165 GB, free: 1.258 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07325/1.184, allocations: 45.93 MB / 1.21 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.184, allocations: 204.4 kB / 1.21 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.791, allocations: 6.562 kB / 1.21 GB, free: 3.496 MB / 0.9669 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