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.0008453/0.0008453, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008097/0.0008097, allocations: 172.7 kB / 15.95 MB, free: 208 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.537/2.537, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003544, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.753, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01805/0.7711, allocations: 15.61 MB / 0.9964 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.7804, allocations: 5.539 MB / 1.002 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.7817, allocations: 43.88 kB / 1.002 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.7826, allocations: 317.7 kB / 1.002 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.7844, allocations: 0.6302 MB / 1.003 GB, free: 64 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.7867, allocations: 0.707 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005805/0.7925, allocations: 4.953 MB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.8034, allocations: 7.017 MB / 1.015 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.806, allocations: 1.304 MB / 1.016 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.8097, allocations: 1.897 MB / 1.018 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000631/0.8104, allocations: 192 kB / 1.018 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.8118, allocations: 415.6 kB / 1.019 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.8135, allocations: 1.38 MB / 1.02 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.8143, allocations: 0.5589 MB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.82, allocations: 5.34 MB / 1.026 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8201, allocations: 0 / 1.026 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.18e-06/0.8201, allocations: 4 kB / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001744/0.8203, allocations: 0 / 1.026 GB, free: 8.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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006243/0.8265, allocations: 2.498 MB / 1.028 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.8266, allocations: 12.03 kB / 1.028 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.8277, allocations: 466.5 kB / 1.029 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.8329, allocations: 1.144 MB / 1.03 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.8367, allocations: 1.595 MB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.837, allocations: 222 kB / 1.032 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007672/0.8378, allocations: 299.9 kB / 1.032 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.849, allocations: 5.284 MB / 1.037 GB, free: 12.47 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.8491, allocations: 0 / 1.037 GB, free: 12.47 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.8494, allocations: 124 kB / 1.037 GB, free: 12.35 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.8497, allocations: 205.1 kB / 1.037 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008909/0.8586, allocations: 4.744 MB / 1.042 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.8903, allocations: 23.2 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/0.895, allocations: 3.179 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.8965, allocations: 0.9227 MB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.8967, allocations: 105.7 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.8968, allocations: 47.22 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/0.8968, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82): time 0.003699/0.9005, allocations: 2.086 MB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.9007, allocations: 218.2 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.9025, allocations: 1.09 MB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/0.9026, allocations: 41.89 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009189/0.9035, allocations: 1.288 MB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.9039, allocations: 295.9 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.904, allocations: 36 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.9042, allocations: 402.7 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.9055, allocations: 0.8822 MB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.9071, allocations: 1.511 MB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.9088, allocations: 1.186 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.9089, allocations: 11.95 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003796/0.9127, allocations: 2.484 MB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004987/0.9132, allocations: 0.656 MB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.9132, allocations: 16 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.905e-05/0.9133, allocations: 32 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.9149, allocations: 463.3 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.294e-05/0.915, allocations: 51.78 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.9165, allocations: 337.9 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.9167, allocations: 79.97 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.9167, allocations: 4 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003332/0.92, allocations: 2.214 MB / 1.084 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/0.9201, allocations: 19.95 kB / 1.084 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/0.9201, allocations: 32.66 kB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.9215, allocations: 443.2 kB / 1.084 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.19e-05/0.9216, allocations: 39.86 kB / 1.084 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.9227, allocations: 250.6 kB / 1.085 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.9229, allocations: 75.98 kB / 1.085 GB, free: 8.535 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.00203/0.9249, allocations: 1.273 MB / 1.086 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.9253, allocations: 102.8 kB / 1.086 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.9279, allocations: 1.587 MB / 1.088 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.9279, allocations: 8 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9279, allocations: 4 kB / 1.088 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.928, allocations: 3.984 kB / 1.088 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/0.9355, allocations: 4.486 MB / 1.092 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.9356, allocations: 0 / 1.092 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.9365, allocations: 251.6 kB / 1.092 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.9366, allocations: 4 kB / 1.092 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.9366, allocations: 20 kB / 1.092 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.9366, allocations: 7.938 kB / 1.092 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9367, allocations: 7.953 kB / 1.092 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.9389, allocations: 1.915 MB / 1.094 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.9396, allocations: 359.5 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.9398, allocations: 16 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.9408, allocations: 127.8 kB / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9409, allocations: 56.53 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.941, allocations: 24 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001233/0.9422, allocations: 0.7917 MB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9422, allocations: 3.938 kB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003985/0.9462, allocations: 1.298 MB / 1.097 GB, free: 12.02 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.002638/0.9489, allocations: 2.484 MB / 1.099 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004985/0.9539, allocations: 2.968 MB / 1.102 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9539, allocations: 4.375 kB / 1.102 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009933/0.9549, allocations: 0.6594 MB / 1.103 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.9566, allocations: 191 kB / 1.103 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.977, allocations: 11.01 MB / 1.114 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/0.9801, allocations: 2.21 MB / 1.116 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00274/0.9828, allocations: 1.101 MB / 1.117 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.9842, allocations: 0.8312 MB / 1.118 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/0.9842, allocations: 4 kB / 1.118 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/1.037, allocations: 30.67 MB / 1.148 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.037, allocations: 217.8 kB / 1.148 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.429, allocations: 4 kB / 1.148 GB, free: 7.414 MB / 0.9044 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