Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Sensors.Examples.Sensors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.0009574/0.0009574, allocations: 99.55 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.001008/0.001008, 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.43/2.43, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003514, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7176, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01612/0.7338, allocations: 15.34 MB / 0.9686 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009457/0.7433, allocations: 5.51 MB / 0.974 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.7451, allocations: 46.56 kB / 0.974 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.7462, allocations: 352.4 kB / 0.9743 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.7482, allocations: 0.5706 MB / 0.9749 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.7507, allocations: 0.7698 MB / 0.9756 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.7539, allocations: 1.903 MB / 0.9775 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.7644, allocations: 7.024 MB / 0.9844 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.7668, allocations: 1.071 MB / 0.9854 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.7689, allocations: 1.238 MB / 0.9866 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.7693, allocations: 188 kB / 0.9868 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.7706, allocations: 407.6 kB / 0.9872 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.7718, allocations: 1.275 MB / 0.9884 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.7724, allocations: 0.5589 MB / 0.989 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.7772, allocations: 5.324 MB / 0.9942 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.7773, allocations: 0 / 0.9942 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7773, allocations: 4 kB / 0.9942 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001325/0.7774, allocations: 0 / 0.9942 GB, free: 6.453 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006214/0.7836, allocations: 2.502 MB / 0.9966 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7837, allocations: 8.031 kB / 0.9966 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001095/0.7848, allocations: 470.4 kB / 0.9971 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.7903, allocations: 1.206 MB / 0.9983 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004222/0.7946, allocations: 1.587 MB / 0.9998 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.7949, allocations: 229.9 kB / 1 GB, free: 348 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008254/0.7958, allocations: 292 kB / 1 GB, free: 56 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.8066, allocations: 5.26 MB / 1.005 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.8067, allocations: 7.938 kB / 1.005 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.807, allocations: 120 kB / 1.006 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002511/0.8072, allocations: 201.1 kB / 1.006 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009007/0.8163, allocations: 4.753 MB / 1.01 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.853, allocations: 23.19 MB / 1.033 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.858, allocations: 3.18 MB / 1.036 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.8583, allocations: 109.7 kB / 1.036 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.8583, allocations: 55.14 kB / 1.036 GB, free: 8.531 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 2.836e-06/0.8583, allocations: 0 / 1.036 GB, free: 8.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.003662/0.862, allocations: 2.117 MB / 1.038 GB, free: 6.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.8621, allocations: 214.3 kB / 1.039 GB, free: 6.148 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.8638, allocations: 1.091 MB / 1.04 GB, free: 5.047 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.8639, allocations: 41.7 kB / 1.04 GB, free: 5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009596/0.8648, allocations: 1.285 MB / 1.041 GB, free: 3.695 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.8651, allocations: 303.8 kB / 1.041 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.8652, allocations: 32 kB / 1.041 GB, free: 3.363 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.8655, allocations: 406.7 kB / 1.042 GB, free: 2.957 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.8667, allocations: 0.89 MB / 1.043 GB, free: 2.066 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.8686, allocations: 1.515 MB / 1.044 GB, free: 280 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.8703, allocations: 1.19 MB / 1.045 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.8703, allocations: 4 kB / 1.045 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003865/0.8742, allocations: 2.508 MB / 1.048 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.004731/0.879, allocations: 7.498 MB / 1.055 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.026e-05/0.879, allocations: 20 kB / 1.055 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.773e-05/0.8791, allocations: 31.98 kB / 1.055 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.881, allocations: 467.1 kB / 1.055 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/0.8811, allocations: 43.86 kB / 1.055 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.8831, allocations: 345.8 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.8833, allocations: 75.98 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8833, allocations: 4 kB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003813/0.8872, allocations: 2.241 MB / 1.058 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-05/0.8873, allocations: 20.72 kB / 1.058 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.8873, allocations: 32 kB / 1.058 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.8889, allocations: 439.3 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.914e-05/0.889, allocations: 39.86 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.8903, allocations: 246.6 kB / 1.059 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.8906, allocations: 79.98 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.002259/0.8928, allocations: 1.281 MB / 1.06 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.8932, allocations: 98.88 kB / 1.06 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.896, allocations: 1.595 MB / 1.062 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.896, allocations: 8 kB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8961, allocations: 4 kB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.8961, allocations: 3.984 kB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007912/0.904, allocations: 4.251 MB / 1.066 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.904, allocations: 0 / 1.066 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9051, allocations: 251.6 kB / 1.066 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/0.9051, allocations: 4 kB / 1.066 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.9052, allocations: 23.95 kB / 1.066 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.9052, allocations: 4 kB / 1.066 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.9052, allocations: 3.938 kB / 1.066 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.9078, allocations: 2.004 MB / 1.068 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.9087, allocations: 367.4 kB / 1.069 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.909, allocations: 19.95 kB / 1.069 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.91, allocations: 135.8 kB / 1.069 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.9101, allocations: 48.53 kB / 1.069 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.9102, allocations: 27.98 kB / 1.069 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001236/0.9114, allocations: 0.7839 MB / 1.07 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4e-07/0.9115, allocations: 0 / 1.07 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003772/0.9152, allocations: 1.302 MB / 1.071 GB, free: 4.051 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.003181/0.9184, allocations: 3 MB / 1.074 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005106/0.9236, allocations: 3.006 MB / 1.077 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9236, allocations: 0 / 1.077 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.9246, allocations: 0.68 MB / 1.077 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.926, allocations: 163.2 kB / 1.077 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/0.9548, allocations: 23.91 MB / 1.101 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/0.9582, allocations: 2.247 MB / 1.103 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002911/0.9611, allocations: 1.101 MB / 1.104 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.9625, allocations: 0.839 MB / 1.105 GB, free: 448 kB / 0.8575 GB Notification: Performance of SimCode: time 1.302e-06/0.9625, allocations: 0 / 1.105 GB, free: 448 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07307/1.036, allocations: 30.59 MB / 1.135 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.036, allocations: 199.5 kB / 1.135 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.469, allocations: 4 kB / 1.135 GB, free: 1.91 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat