Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001635/0.001635, allocations: 99 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.002557/0.002557, 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 2.482/2.482, 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 4.436/4.436, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006919/0.000692, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.3, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003688/1.304, allocations: 1.535 MB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003568/1.307, allocations: 1.448 MB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/1.308, allocations: 0 / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004062/1.308, allocations: 27.83 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005431/1.309, allocations: 67.72 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008733/1.31, allocations: 153.1 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/1.31, allocations: 177.6 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/1.31, allocations: 25.11 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/1.31, allocations: 87.8 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/1.311, allocations: 67.75 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/1.311, allocations: 12 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/1.311, allocations: 59.91 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/1.311, allocations: 75.73 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/1.311, allocations: 65.52 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/1.312, allocations: 237.7 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.312, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.366e-06/1.312, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.312, allocations: 0 / 0.9848 GB, free: 2.273 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00122/1.313, allocations: 0.5033 MB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/1.313, allocations: 12.03 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/1.313, allocations: 50.55 kB / 0.9853 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/1.314, allocations: 35.62 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/1.314, allocations: 265.6 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/1.314, allocations: 19.92 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/1.314, allocations: 20 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/1.315, allocations: 240.8 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.315, allocations: 3.984 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/1.315, allocations: 8 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.315, allocations: 4 kB / 0.9859 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.316, allocations: 0.7568 MB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/1.318, allocations: 0.6448 MB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/1.319, allocations: 305.9 kB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/1.319, allocations: 20.23 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/1.32, allocations: 175.6 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=35): time 4.398e-06/1.32, allocations: 4 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.001511/1.321, allocations: 378.2 kB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.322, allocations: 136.5 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/1.322, allocations: 309 kB / 0.9885 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/1.322, allocations: 29.7 kB / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.322, allocations: 136.6 kB / 0.9887 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.323, allocations: 114.4 kB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/1.323, allocations: 4 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002978/1.323, allocations: 346.8 kB / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/1.323, allocations: 79.95 kB / 0.9892 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/1.324, allocations: 123.2 kB / 0.9893 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/1.324, allocations: 99.95 kB / 0.9894 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.324, allocations: 0 / 0.9894 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008937/1.325, allocations: 285.7 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.325, allocations: 4 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.325, allocations: 4 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.325, allocations: 4 kB / 0.9897 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/1.325, allocations: 63.91 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.326, allocations: 0 / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/1.326, allocations: 39.61 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/1.326, allocations: 12 kB / 0.9898 GB, free: 12.83 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000316/1.327, allocations: 169.7 kB / 0.99 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/1.327, allocations: 27.72 kB / 0.99 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.328, allocations: 384.5 kB / 0.9904 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.328, allocations: 4 kB / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.328, allocations: 3.938 kB / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.328, allocations: 0 / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/1.329, allocations: 349.2 kB / 0.9907 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.329, allocations: 0 / 0.9907 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/1.329, allocations: 59.91 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/1.329, allocations: 4 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.329, allocations: 15.98 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/1.329, allocations: 4 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.329, allocations: 0 / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/1.33, allocations: 326.1 kB / 0.9911 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/1.33, allocations: 156.6 kB / 0.9913 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/1.331, allocations: 4 kB / 0.9913 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/1.331, allocations: 35.97 kB / 0.9913 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.331, allocations: 27.83 kB / 0.9913 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/1.331, allocations: 11.98 kB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006244/1.332, allocations: 232.5 kB / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.92e-07/1.332, allocations: 0 / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005635/1.332, allocations: 71.92 kB / 0.9916 GB, free: 10.88 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003133/1.336, allocations: 1.16 MB / 0.9928 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007944/1.336, allocations: 232.1 kB / 0.993 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.336, allocations: 0 / 0.993 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000333/1.337, allocations: 127.7 kB / 0.9931 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/1.337, allocations: 40.39 kB / 0.9931 GB, free: 9.449 MB / 0.7481 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/1.341, allocations: 1.511 MB / 0.9946 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.342, allocations: 0.77 MB / 0.9954 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006385/1.343, allocations: 146.9 kB / 0.9955 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.343, allocations: 103.4 kB / 0.9956 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of SimCode: time 2.254e-06/1.343, allocations: 0 / 0.9956 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/2.427, allocations: 5.866 MB / 1.001 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009198/2.428, allocations: 257.2 kB / 1.002 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/5.647, allocations: 2.391 kB / 1.002 GB, free: 0.8477 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat