Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_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.006788/0.006788, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.001499/0.001499, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003409/0.289, allocations: 1.875 MB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2916, allocations: 1.577 MB / 1.17 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2918, allocations: 4 kB / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.292, allocations: 23.78 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.2925, allocations: 83.55 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.293, allocations: 166.8 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.2934, allocations: 281.3 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2935, allocations: 47.89 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2937, allocations: 91.81 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.2939, allocations: 111.7 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.294, allocations: 20 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2942, allocations: 83.92 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2943, allocations: 95.72 kB / 1.171 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2945, allocations: 123.3 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.2949, allocations: 323.7 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2949, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2949, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.2949, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 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.0008731/0.2958, allocations: 0.5539 MB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2958, allocations: 12.02 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.939e-05/0.2959, allocations: 54.73 kB / 1.172 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.2961, allocations: 28.66 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.2964, allocations: 274.7 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2965, allocations: 12.38 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.2965, allocations: 23.88 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.2969, allocations: 248.8 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2969, allocations: 0 / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.297, allocations: 12 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.297, allocations: 4 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.2978, allocations: 0.749 MB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.2988, allocations: 0.633 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.2993, allocations: 309.9 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.2995, allocations: 105.4 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.2996, allocations: 24.25 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.2999, allocations: 176.6 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.2999, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0006708/0.3006, allocations: 388.7 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.3007, allocations: 132.5 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.301, allocations: 309 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.301, allocations: 33.7 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.3011, allocations: 136.5 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.3012, allocations: 114.4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.3013, allocations: 69.67 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3015, allocations: 342.8 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3016, allocations: 83.95 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3018, allocations: 119.4 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3021, allocations: 218.3 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3022, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004502/0.3026, allocations: 289 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3026, allocations: 7.938 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3026, allocations: 4 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3027, allocations: 0 / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3029, allocations: 63.91 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3029, allocations: 0 / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.303, allocations: 23.83 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3031, allocations: 12 kB / 1.176 GB, free: 12.64 MB / 0.9356 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.0001669/0.3033, allocations: 169.7 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.3033, allocations: 35.56 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.304, allocations: 380.9 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.304, allocations: 4 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.304, allocations: 4 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.304, allocations: 7.969 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.3043, allocations: 341.3 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3043, allocations: 0 / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3045, allocations: 63.91 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3045, allocations: 3.938 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3045, allocations: 15.92 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3046, allocations: 4 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3046, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.305, allocations: 329.6 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3052, allocations: 148.7 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.3052, allocations: 7.938 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3054, allocations: 19.98 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3055, allocations: 31.81 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3055, allocations: 12 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002039/0.3057, allocations: 236.4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3057, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003095/0.306, allocations: 72 kB / 1.178 GB, free: 10.68 MB / 0.9356 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.001544/0.3076, allocations: 1.165 MB / 1.179 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.308, allocations: 231.6 kB / 1.179 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.308, allocations: 3.938 kB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3082, allocations: 135.7 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3085, allocations: 36.42 kB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.3113, allocations: 2.526 MB / 1.182 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3117, allocations: 0.7698 MB / 1.183 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000315/0.312, allocations: 142.9 kB / 1.183 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3121, allocations: 99.39 kB / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.3122, allocations: 0 / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3374, allocations: 6.033 MB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.353, allocations: 10.8 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches