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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005085/0.005085, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001509/0.001509, allocations: 186.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.11 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003142/0.28, allocations: 1.872 MB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.2822, allocations: 1.592 MB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.2822, allocations: 0 / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2824, allocations: 23.78 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.2827, allocations: 79.56 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.2831, allocations: 178.7 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.2834, allocations: 281.4 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.2836, allocations: 33.05 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2837, allocations: 91.81 kB / 1.246 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.2839, allocations: 115.6 kB / 1.246 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.284, allocations: 20 kB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2841, allocations: 87.89 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2842, allocations: 87.8 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2844, allocations: 119.3 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.2848, allocations: 330.6 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2848, allocations: 4 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 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.0008007/0.2856, allocations: 0.5729 MB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2857, allocations: 11.97 kB / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.2857, allocations: 54.73 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.2859, allocations: 32.75 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.2862, allocations: 282.8 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2862, allocations: 12.38 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.2863, allocations: 23.94 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.2867, allocations: 240.9 kB / 1.247 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2867, allocations: 0 / 1.247 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.2867, allocations: 11.98 kB / 1.247 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2867, allocations: 4 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.2877, allocations: 0.7451 MB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2887, allocations: 0.6254 MB / 1.249 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.2893, allocations: 317.9 kB / 1.249 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.2895, allocations: 105.4 kB / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.2895, allocations: 28.23 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.2899, allocations: 179.4 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.2899, allocations: 0 / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0007012/0.2906, allocations: 383.1 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.2907, allocations: 136.5 kB / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.291, allocations: 312.9 kB / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2911, allocations: 33.7 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.2912, allocations: 132.7 kB / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2913, allocations: 119 kB / 1.25 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2914, allocations: 65.69 kB / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2915, allocations: 338.8 kB / 1.251 GB, free: 324 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2917, allocations: 83.95 kB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2919, allocations: 131.5 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5215/0.8134, allocations: 211 kB / 1.251 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8134, allocations: 1 kB / 1.251 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004887/0.8139, allocations: 288.7 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8139, allocations: 8.438 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8139, allocations: 0 / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.814, allocations: 1.5 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.8142, allocations: 63.03 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8142, allocations: 2.594 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.8144, allocations: 26.11 kB / 1.252 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.8144, allocations: 12.5 kB / 1.252 GB, free: 14.63 MB / 0.9981 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.8146, allocations: 168.3 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.8146, allocations: 29.84 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.8153, allocations: 379.5 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8153, allocations: 7.094 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8153, allocations: 3.891 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8153, allocations: 2.656 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.8156, allocations: 352.4 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8156, allocations: 1.438 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.8158, allocations: 57.95 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.8158, allocations: 2.219 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.8159, allocations: 13.53 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8159, allocations: 2.047 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8159, allocations: 1.344 kB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.8163, allocations: 331.7 kB / 1.253 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8164, allocations: 146.7 kB / 1.253 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.8165, allocations: 10.3 kB / 1.253 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.8167, allocations: 25.78 kB / 1.253 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.8167, allocations: 24.98 kB / 1.253 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.8168, allocations: 19.22 kB / 1.253 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001896/0.817, allocations: 236 kB / 1.253 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.817, allocations: 0 / 1.253 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002943/0.8173, allocations: 70.56 kB / 1.253 GB, free: 13.98 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.8191, allocations: 1.155 MB / 1.255 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.8196, allocations: 237.4 kB / 1.255 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8196, allocations: 1.781 kB / 1.255 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.8198, allocations: 132.1 kB / 1.255 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.8201, allocations: 45.02 kB / 1.255 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.8226, allocations: 2.527 MB / 1.257 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.8228, allocations: 0.7604 MB / 1.258 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.8232, allocations: 153.2 kB / 1.258 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.8233, allocations: 101.2 kB / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.8233, allocations: 0 / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.8531, allocations: 6.031 MB / 1.264 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.827, allocations: 19.58 kB / 1.264 GB, free: 10.3 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches