Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_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.001905/0.001905, allocations: 99.62 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.002932/0.002932, 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 2.94/2.94, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.206/5.206, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006897/0.0006899, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414/1.415, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.0328/1.448, allocations: 15.34 MB / 0.9959 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01617/1.464, allocations: 5.521 MB / 1.001 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/1.467, allocations: 47.88 kB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002511/1.47, allocations: 349.9 kB / 1.002 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/1.474, allocations: 0.5724 MB / 1.002 GB, free: 388 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/1.479, allocations: 0.7774 MB / 1.003 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005697/1.485, allocations: 1.887 MB / 1.005 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/1.503, allocations: 7.02 MB / 1.012 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00379/1.507, allocations: 1.067 MB / 1.013 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004466/1.511, allocations: 1.235 MB / 1.014 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001364/1.513, allocations: 192 kB / 1.014 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/1.515, allocations: 407.6 kB / 1.014 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002875/1.518, allocations: 1.271 MB / 1.016 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/1.52, allocations: 0.5628 MB / 1.016 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/1.531, allocations: 5.32 MB / 1.021 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.531, allocations: 0 / 1.021 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.376e-06/1.531, allocations: 4 kB / 1.021 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002802/1.531, allocations: 0 / 1.021 GB, free: 12.55 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01318/1.544, allocations: 2.503 MB / 1.024 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.698e-05/1.544, allocations: 12.03 kB / 1.024 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002953/1.547, allocations: 466.5 kB / 1.024 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.559, allocations: 1.21 MB / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/1.566, allocations: 1.588 MB / 1.027 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/1.567, allocations: 225.9 kB / 1.027 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/1.569, allocations: 300 kB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/1.59, allocations: 5.264 MB / 1.033 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/1.59, allocations: 3.938 kB / 1.033 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007593/1.591, allocations: 124 kB / 1.033 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000448/1.591, allocations: 201.1 kB / 1.033 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/1.608, allocations: 4.743 MB / 1.038 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05238/1.66, allocations: 23.19 MB / 1.06 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008186/1.668, allocations: 3.187 MB / 1.063 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/1.669, allocations: 109.7 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.845e-05/1.669, allocations: 59.16 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 7.594e-06/1.669, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82): time 0.006509/1.676, allocations: 2.113 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/1.676, allocations: 218.3 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/1.679, allocations: 1.091 MB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/1.679, allocations: 41.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.68, allocations: 1.281 MB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/1.681, allocations: 303.9 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.681, allocations: 28 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003339/1.681, allocations: 406.7 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/1.684, allocations: 0.8939 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/1.687, allocations: 1.519 MB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/1.69, allocations: 1.19 MB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/1.69, allocations: 8 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006738/1.696, allocations: 2.512 MB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.005033/1.702, allocations: 7.49 MB / 1.082 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-05/1.702, allocations: 20 kB / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.787e-05/1.702, allocations: 28 kB / 1.082 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.705, allocations: 463.2 kB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.154e-05/1.705, allocations: 43.86 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.708, allocations: 341.9 kB / 1.083 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.708, allocations: 87.95 kB / 1.083 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.708, allocations: 5.25 kB / 1.083 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005859/1.714, allocations: 2.233 MB / 1.085 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.671e-05/1.714, allocations: 16.72 kB / 1.085 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.828e-05/1.714, allocations: 32 kB / 1.085 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.716, allocations: 443.3 kB / 1.086 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.891e-05/1.717, allocations: 43.8 kB / 1.086 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.719, allocations: 250.6 kB / 1.086 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/1.719, allocations: 75.98 kB / 1.086 GB, free: 6.52 MB / 0.8419 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.004925/1.724, allocations: 1.285 MB / 1.087 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008772/1.725, allocations: 98.78 kB / 1.088 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/1.73, allocations: 1.595 MB / 1.089 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.73, allocations: 12 kB / 1.089 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.73, allocations: 0 / 1.089 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/1.73, allocations: 7.984 kB / 1.089 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.744, allocations: 4.247 MB / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.744, allocations: 0 / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/1.746, allocations: 251.6 kB / 1.093 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/1.746, allocations: 4 kB / 1.093 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.746, allocations: 19.98 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/1.747, allocations: 4 kB / 1.094 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/1.747, allocations: 3.938 kB / 1.094 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/1.751, allocations: 2.011 MB / 1.095 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.752, allocations: 363.5 kB / 1.096 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/1.753, allocations: 23.98 kB / 1.096 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.755, allocations: 127.8 kB / 1.096 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.755, allocations: 48.53 kB / 1.096 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.755, allocations: 24 kB / 1.096 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00206/1.757, allocations: 0.7917 MB / 1.097 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/1.757, allocations: 0 / 1.097 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.007313/1.764, allocations: 1.298 MB / 1.098 GB, free: 10.14 MB / 0.8575 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.005334/1.77, allocations: 2.992 MB / 1.101 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008602/1.778, allocations: 3.006 MB / 1.104 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.669e-05/1.778, allocations: 0 / 1.104 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.78, allocations: 0.68 MB / 1.105 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.783, allocations: 159.7 kB / 1.105 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04491/1.827, allocations: 23.92 MB / 1.128 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/1.832, allocations: 2.263 MB / 1.13 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.004789/1.837, allocations: 1.097 MB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/1.84, allocations: 0.8312 MB / 1.132 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of SimCode: time 1.673e-06/1.84, allocations: 0 / 1.132 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.419/3.259, allocations: 30.59 MB / 1.162 GB, free: 8.227 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004341/3.259, allocations: 227.9 kB / 1.162 GB, free: 7.969 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.452/9.711, allocations: 4 kB / 1.162 GB, free: 7.965 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat