Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_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.002401/0.002401, allocations: 99.08 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.003563/0.003564, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.036/3.036, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.638/5.638, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009995/0.0009991, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834/1.835, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.007841/1.843, allocations: 2.216 MB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004905/1.848, allocations: 1.345 MB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/1.849, allocations: 11.94 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/1.849, allocations: 27.83 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009323/1.85, allocations: 119.6 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000787/1.851, allocations: 115.7 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/1.851, allocations: 123.8 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/1.852, allocations: 322.4 kB / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/1.852, allocations: 67.75 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/1.853, allocations: 79.67 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/1.853, allocations: 8 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/1.853, allocations: 111.9 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/1.853, allocations: 55.81 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/1.854, allocations: 57.64 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/1.854, allocations: 241.6 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.854, allocations: 0 / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.837e-06/1.854, allocations: 3.938 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.749e-06/1.854, allocations: 3.938 kB / 0.9856 GB, free: 1.371 MB / 0.7325 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.001273/1.855, allocations: 459 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.888e-05/1.856, allocations: 8.031 kB / 0.9861 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/1.856, allocations: 58.53 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/1.857, allocations: 83.7 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/1.857, allocations: 234.8 kB / 0.9864 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/1.857, allocations: 8.328 kB / 0.9865 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/1.857, allocations: 27.94 kB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/1.858, allocations: 312.1 kB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.858, allocations: 7.938 kB / 0.9868 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/1.858, allocations: 4 kB / 0.9868 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-05/1.858, allocations: 20.27 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/1.859, allocations: 248.7 kB / 0.987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/1.862, allocations: 1.634 MB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.864, allocations: 411.1 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/1.864, allocations: 97.08 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/1.864, allocations: 30.56 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 3.516e-06/1.864, allocations: 4 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.001128/1.865, allocations: 300.7 kB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.865, allocations: 85.06 kB / 0.9895 GB, free: 13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/1.866, allocations: 175.2 kB / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.866, allocations: 25.7 kB / 0.9897 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.866, allocations: 152 kB / 0.9899 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/1.866, allocations: 47.36 kB / 0.9899 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.866, allocations: 4 kB / 0.9899 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003372/1.867, allocations: 322.8 kB / 0.9902 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.867, allocations: 75.95 kB / 0.9903 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/1.867, allocations: 150.9 kB / 0.9904 GB, free: 12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.867, allocations: 103.3 kB / 0.9905 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.867, allocations: 4 kB / 0.9905 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006168/1.868, allocations: 261.2 kB / 0.9908 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008423/1.869, allocations: 0.9718 MB / 0.9917 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.869, allocations: 0 / 0.9917 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/1.869, allocations: 8 kB / 0.9917 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/1.869, allocations: 51.91 kB / 0.9918 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/1.869, allocations: 4 kB / 0.9918 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/1.87, allocations: 31.8 kB / 0.9918 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/1.87, allocations: 8 kB / 0.9918 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.87, allocations: 5.594 kB / 0.9918 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004937/1.87, allocations: 211.9 kB / 0.992 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.87, allocations: 3.938 kB / 0.992 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/1.87, allocations: 4 kB / 0.9921 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/1.871, allocations: 51.91 kB / 0.9921 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.871, allocations: 8 kB / 0.9921 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/1.871, allocations: 15.89 kB / 0.9921 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.871, allocations: 12 kB / 0.9921 GB, free: 10.19 MB / 0.7481 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.0003057/1.871, allocations: 225 kB / 0.9923 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/1.871, allocations: 15.86 kB / 0.9924 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/1.872, allocations: 203.8 kB / 0.9926 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.872, allocations: 4 kB / 0.9926 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.872, allocations: 0 / 0.9926 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.872, allocations: 0 / 0.9926 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.874, allocations: 0.9694 MB / 0.9935 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.874, allocations: 7.938 kB / 0.9935 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/1.874, allocations: 35.91 kB / 0.9936 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.874, allocations: 4 kB / 0.9936 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/1.874, allocations: 4 kB / 0.9936 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.874, allocations: 4 kB / 0.9936 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.874, allocations: 7.953 kB / 0.9936 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.876, allocations: 0.5773 MB / 0.9941 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.876, allocations: 112.9 kB / 0.9942 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/1.876, allocations: 11.95 kB / 0.9943 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/1.877, allocations: 11.98 kB / 0.9943 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/1.877, allocations: 19.98 kB / 0.9943 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/1.877, allocations: 4 kB / 0.9943 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001895/1.877, allocations: 135.2 kB / 0.9944 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.877, allocations: 0 / 0.9944 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008835/1.878, allocations: 68 kB / 0.9945 GB, free: 7.5 MB / 0.7481 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.003364/1.881, allocations: 2.024 MB / 0.9965 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.883, allocations: 295.5 kB / 0.9967 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.883, allocations: 1.25 kB / 0.9967 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.883, allocations: 88.52 kB / 0.9968 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/1.883, allocations: 28.48 kB / 0.9969 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/1.888, allocations: 2.735 MB / 0.9995 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/1.889, allocations: 0.7558 MB / 1 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004246/1.89, allocations: 81.5 kB / 1 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.89, allocations: 51.41 kB / 1 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of SimCode: time 2.585e-06/1.89, allocations: 3.938 kB / 1 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06523/1.955, allocations: 3.338 MB / 1.004 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004006/1.956, allocations: 218.1 kB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/5.587, allocations: 2.391 kB / 1.004 GB, free: 13.79 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat does not exist to compare? outputFormat=mat