Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.0009989/0.0009988, allocations: 90.75 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.001294/0.001294, 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.58/1.58, allocations: 223.2 MB / 240 MB, free: 5.324 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.469/2.469, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003869, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7729, allocations: 142.3 MB / 0.9539 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002809/0.7758, allocations: 2.249 MB / 0.9561 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.7777, allocations: 1.369 MB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.7778, allocations: 2.031 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.778, allocations: 32.31 kB / 0.9574 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.7784, allocations: 128.9 kB / 0.9575 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.7788, allocations: 120.9 kB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.7791, allocations: 275.5 kB / 0.9579 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.7796, allocations: 303.9 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.7798, allocations: 87.61 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.78, allocations: 104.1 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.78, allocations: 6.719 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.7803, allocations: 124.7 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.7804, allocations: 68.03 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.7804, allocations: 56.73 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.7807, allocations: 244.2 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7807, allocations: 0 / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7807, allocations: 0 / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7807, allocations: 0 / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005683/0.7813, allocations: 464.8 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7813, allocations: 8.25 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.7814, allocations: 50.8 kB / 0.9594 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005564/0.7819, allocations: 83.59 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.7822, allocations: 227.5 kB / 0.9597 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.7822, allocations: 19.19 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.7822, allocations: 13.62 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.7827, allocations: 319.2 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.7827, allocations: 9.25 kB / 0.96 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.7827, allocations: 10.7 kB / 0.96 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.7828, allocations: 23.39 kB / 0.96 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.7832, allocations: 251.1 kB / 0.9603 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7845, allocations: 1.625 MB / 0.9619 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.785, allocations: 415.1 kB / 0.9623 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7852, allocations: 86.23 kB / 0.9623 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.7853, allocations: 90.31 kB / 0.9624 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.7853, allocations: 32.5 kB / 0.9625 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7853, allocations: 224 / 0.9625 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006896/0.786, allocations: 300.6 kB / 0.9628 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.7861, allocations: 86.2 kB / 0.9628 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.7862, allocations: 177 kB / 0.963 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7862, allocations: 26.58 kB / 0.963 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.7863, allocations: 149.7 kB / 0.9632 GB, free: 360 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.7864, allocations: 50.16 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.7864, allocations: 8.938 kB / 0.9632 GB, free: 308 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.7865, allocations: 326.6 kB / 0.9635 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.7866, allocations: 78.39 kB / 0.9636 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.7868, allocations: 154.7 kB / 0.9638 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.787, allocations: 108 kB / 0.9639 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.787, allocations: 5.219 kB / 0.9639 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000462/0.7874, allocations: 265.5 kB / 0.9641 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.7876, allocations: 163.4 kB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7876, allocations: 2.406 kB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.7876, allocations: 3.938 kB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.7879, allocations: 54.42 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7879, allocations: 3.656 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.788, allocations: 24.53 kB / 0.9644 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7881, allocations: 12.98 kB / 0.9644 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.7881, allocations: 3.719 kB / 0.9644 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003303/0.7884, allocations: 215.2 kB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7884, allocations: 2.031 kB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.7884, allocations: 4.219 kB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.7886, allocations: 49.5 kB / 0.9646 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7886, allocations: 3.562 kB / 0.9646 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.7887, allocations: 18.42 kB / 0.9647 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.7888, allocations: 10.75 kB / 0.9647 GB, free: 15.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001946/0.789, allocations: 230.9 kB / 0.9649 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.789, allocations: 15.2 kB / 0.9649 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.7894, allocations: 204.8 kB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7894, allocations: 2.281 kB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7894, allocations: 0 / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7895, allocations: 1.156 kB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.7908, allocations: 0.9597 MB / 0.966 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.7908, allocations: 6.5 kB / 0.966 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.791, allocations: 36.7 kB / 0.9661 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.791, allocations: 4.719 kB / 0.9661 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.791, allocations: 8.766 kB / 0.9661 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.791, allocations: 7.828 kB / 0.9661 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.791, allocations: 8.312 kB / 0.9661 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.7915, allocations: 432.1 kB / 0.9665 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.7916, allocations: 111.3 kB / 0.9666 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.7916, allocations: 11.83 kB / 0.9666 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.7918, allocations: 15.86 kB / 0.9667 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.7918, allocations: 15.39 kB / 0.9667 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7919, allocations: 11.23 kB / 0.9667 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001163/0.792, allocations: 131.8 kB / 0.9668 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.792, allocations: 3.938 kB / 0.9668 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005232/0.7925, allocations: 74.56 kB / 0.9669 GB, free: 13.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0007648/0.7933, allocations: 0.9721 MB / 0.9678 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.7938, allocations: 303.6 kB / 0.9681 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7938, allocations: 0 / 0.9681 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.794, allocations: 86.27 kB / 0.9682 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.7945, allocations: 32.77 kB / 0.9682 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.7965, allocations: 1.232 MB / 0.9694 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.7969, allocations: 0.7523 MB / 0.9702 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.7971, allocations: 77.78 kB / 0.9702 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.7972, allocations: 47.77 kB / 0.9703 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7972, allocations: 1.031 kB / 0.9703 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.8129, allocations: 3.347 MB / 0.9736 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.8132, allocations: 215.5 kB / 0.9738 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.655, allocations: 5.641 kB / 0.9738 GB, free: 8.715 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat does not exist to compare? outputFormat=mat