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.001058/0.001058, allocations: 91.77 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.001126/0.001126, 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.539/2.539, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005605, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8138, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004286/0.8181, allocations: 2.239 MB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.8212, allocations: 1.384 MB / 0.9847 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.8215, allocations: 3.938 kB / 0.9847 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.8217, allocations: 23.8 kB / 0.9847 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.8224, allocations: 143.4 kB / 0.9848 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.8228, allocations: 115.8 kB / 0.985 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.8232, allocations: 271.2 kB / 0.9852 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007077/0.8239, allocations: 310.4 kB / 0.9855 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.8242, allocations: 79.69 kB / 0.9856 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.8247, allocations: 107.6 kB / 0.9857 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.8247, allocations: 11.94 kB / 0.9857 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.8251, allocations: 127.8 kB / 0.9858 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.8253, allocations: 59.86 kB / 0.9859 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.8254, allocations: 57.58 kB / 0.9859 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.8259, allocations: 241.7 kB / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.8259, allocations: 0 / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8259, allocations: 0 / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.826, allocations: 0 / 0.9862 GB, free: 1.035 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.0008888/0.8269, allocations: 462.9 kB / 0.9866 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8269, allocations: 8.031 kB / 0.9866 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.342e-05/0.827, allocations: 50.55 kB / 0.9867 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.8276, allocations: 83.7 kB / 0.9867 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.828, allocations: 234.7 kB / 0.987 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.828, allocations: 12.33 kB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.828, allocations: 19.95 kB / 0.987 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.8286, allocations: 320 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.8287, allocations: 0 / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.8287, allocations: 7.984 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.8288, allocations: 20.28 kB / 0.9873 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.8292, allocations: 252.6 kB / 0.9876 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.831, allocations: 1.63 MB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.8316, allocations: 423.1 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.8318, allocations: 85.66 kB / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.8319, allocations: 81.11 kB / 0.9897 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.832, allocations: 42.55 kB / 0.9898 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.832, allocations: 4 kB / 0.9898 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.000691/0.8327, allocations: 300.7 kB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.8327, allocations: 85 kB / 0.9901 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.8329, allocations: 175.2 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.8329, allocations: 25.7 kB / 0.9903 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.833, allocations: 147.8 kB / 0.9905 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.8331, allocations: 51.34 kB / 0.9905 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.8331, allocations: 4 kB / 0.9905 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8332, allocations: 327 kB / 0.9908 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.8333, allocations: 75.95 kB / 0.9909 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.8335, allocations: 146.9 kB / 0.991 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.8337, allocations: 106.9 kB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8337, allocations: 0 / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004018/0.8341, allocations: 273.2 kB / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.8342, allocations: 157.9 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8342, allocations: 3.953 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8342, allocations: 4 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.8345, allocations: 55.91 kB / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.8345, allocations: 4 kB / 0.9916 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.8346, allocations: 27.91 kB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.8346, allocations: 8 kB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.8347, allocations: 4 kB / 0.9917 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003011/0.835, allocations: 207.7 kB / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.835, allocations: 0 / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.835, allocations: 4.312 kB / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.8352, allocations: 59.91 kB / 0.9919 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8352, allocations: 4 kB / 0.9919 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.8353, allocations: 19.83 kB / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.8353, allocations: 8 kB / 0.992 GB, free: 10.61 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.0001479/0.8355, allocations: 229 kB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.8355, allocations: 11.91 kB / 0.9922 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.8359, allocations: 207.6 kB / 0.9924 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.8359, allocations: 4 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.8359, allocations: 0 / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8359, allocations: 0 / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.8371, allocations: 0.9652 MB / 0.9933 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.8371, allocations: 4 kB / 0.9933 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.8372, allocations: 40.48 kB / 0.9934 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.8372, allocations: 8 kB / 0.9934 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.8373, allocations: 11.94 kB / 0.9934 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.8373, allocations: 4 kB / 0.9934 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8373, allocations: 7.938 kB / 0.9934 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.8376, allocations: 439.3 kB / 0.9938 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.8378, allocations: 104.9 kB / 0.9939 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.8378, allocations: 15.94 kB / 0.9939 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.838, allocations: 15.98 kB / 0.994 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.838, allocations: 15.92 kB / 0.994 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.838, allocations: 8 kB / 0.994 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001077/0.8382, allocations: 131.2 kB / 0.9941 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8382, allocations: 3.938 kB / 0.9941 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005041/0.8387, allocations: 75.95 kB / 0.9942 GB, free: 8.129 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.0006332/0.8393, allocations: 0.9715 MB / 0.9951 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.8398, allocations: 292.4 kB / 0.9954 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8398, allocations: 384 / 0.9954 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.8399, allocations: 83.83 kB / 0.9955 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.8404, allocations: 31.97 kB / 0.9955 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.8422, allocations: 1.232 MB / 0.9967 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.8425, allocations: 0.748 MB / 0.9974 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.8427, allocations: 77.47 kB / 0.9975 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.8428, allocations: 47.42 kB / 0.9976 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8428, allocations: 0 / 0.9976 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.8565, allocations: 3.37 MB / 1.001 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.8568, allocations: 223.1 kB / 1.001 GB, free: 1.043 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.656, allocations: 0 / 1.001 GB, free: 1.043 MB / 0.7481 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