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.001065/0.001065, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001392/0.001392, allocations: 168.7 kB / 15.95 MB, free: 204 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.482/1.482, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.614/2.614, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 11.94 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8018, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002548/0.8044, allocations: 1.543 MB / 0.9827 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.8068, allocations: 1.476 MB / 0.9841 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.807, allocations: 8 kB / 0.9841 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.8073, allocations: 23.84 kB / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.8076, allocations: 59.75 kB / 0.9842 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.8081, allocations: 153.5 kB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.8084, allocations: 249.2 kB / 0.9846 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.8085, allocations: 37.03 kB / 0.9846 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.8086, allocations: 71.83 kB / 0.9847 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.8089, allocations: 95.7 kB / 0.9848 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.8089, allocations: 12 kB / 0.9848 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.8091, allocations: 67.95 kB / 0.9848 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.8092, allocations: 79.73 kB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.8093, allocations: 61.58 kB / 0.985 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.8096, allocations: 225.8 kB / 0.9852 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8096, allocations: 0 / 0.9852 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8096, allocations: 4 kB / 0.9852 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8096, allocations: 0 / 0.9852 GB, free: 2.102 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.0007659/0.8104, allocations: 0.5083 MB / 0.9857 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8104, allocations: 8.031 kB / 0.9857 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.8105, allocations: 58.48 kB / 0.9858 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.8106, allocations: 35.61 kB / 0.9858 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.8109, allocations: 265.6 kB / 0.986 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.811, allocations: 12 kB / 0.9861 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.811, allocations: 24 kB / 0.9861 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.8114, allocations: 236.8 kB / 0.9863 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8114, allocations: 0 / 0.9863 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.8114, allocations: 8 kB / 0.9863 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8115, allocations: 4 kB / 0.9863 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.8123, allocations: 0.7529 MB / 0.987 GB, free: 88 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.8133, allocations: 0.6526 MB / 0.9877 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.8138, allocations: 302 kB / 0.988 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.814, allocations: 113.3 kB / 0.9881 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.814, allocations: 20.25 kB / 0.9881 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.8144, allocations: 171.6 kB / 0.9883 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=35): time 3.467e-06/0.8144, allocations: 0 / 0.9883 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.0006421/0.815, allocations: 386.2 kB / 0.9886 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.8151, allocations: 132.5 kB / 0.9888 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.8154, allocations: 305 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.8155, allocations: 37.7 kB / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.8156, allocations: 132.6 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.8157, allocations: 114.4 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.8157, allocations: 4 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8158, allocations: 342.8 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.816, allocations: 83.95 kB / 0.9897 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.8162, allocations: 127.2 kB / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.8163, allocations: 103.9 kB / 0.99 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8163, allocations: 3.938 kB / 0.99 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004258/0.8168, allocations: 285.8 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8168, allocations: 7.984 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.8168, allocations: 0 / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8168, allocations: 0 / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.8171, allocations: 63.91 kB / 0.9903 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8171, allocations: 4 kB / 0.9903 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.8172, allocations: 39.67 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.8173, allocations: 8 kB / 0.9903 GB, free: 12.54 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.0001889/0.8175, allocations: 165.7 kB / 0.9905 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.8175, allocations: 23.72 kB / 0.9905 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.8182, allocations: 400.5 kB / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.8182, allocations: 4 kB / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8182, allocations: 0 / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8182, allocations: 0 / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.8186, allocations: 345.2 kB / 0.9912 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8186, allocations: 48 / 0.9912 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.8188, allocations: 67.89 kB / 0.9913 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.8188, allocations: 0 / 0.9913 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8188, allocations: 8 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8189, allocations: 8 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8189, allocations: 0 / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.8193, allocations: 326.1 kB / 0.9916 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.8195, allocations: 148.6 kB / 0.9918 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.8195, allocations: 8 kB / 0.9918 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.8197, allocations: 33.41 kB / 0.9918 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.8198, allocations: 31.75 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.8199, allocations: 16 kB / 0.9919 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002232/0.8201, allocations: 236.4 kB / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8201, allocations: 0 / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000333/0.8204, allocations: 75.92 kB / 0.9922 GB, free: 10.59 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.001685/0.8221, allocations: 1.152 MB / 0.9933 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.8225, allocations: 228.1 kB / 0.9935 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8226, allocations: 4 kB / 0.9935 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.8228, allocations: 135.7 kB / 0.9936 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.8231, allocations: 40.36 kB / 0.9937 GB, free: 9.156 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.002385/0.8255, allocations: 1.541 MB / 0.9952 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.8259, allocations: 0.7577 MB / 0.9959 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.8262, allocations: 146.9 kB / 0.9961 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.8264, allocations: 98.02 kB / 0.9961 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.8264, allocations: 0 / 0.9961 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/2.231, allocations: 5.897 MB / 1.002 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/2.231, allocations: 266.2 kB / 1.002 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/3.987, allocations: 0 / 1.002 GB, free: 0.5156 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