Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 64.38 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003731/0.3018, allocations: 1.935 MB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3048, allocations: 1.851 MB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.305, allocations: 4 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.3053, allocations: 35.7 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.3058, allocations: 115.4 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.3063, allocations: 188.4 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.3068, allocations: 293.3 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3069, allocations: 25.28 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3071, allocations: 91.83 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.3074, allocations: 115.6 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.3074, allocations: 24 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.3077, allocations: 135.9 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3079, allocations: 91.73 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.308, allocations: 119.3 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.3086, allocations: 382.5 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3086, allocations: 4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3086, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3086, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 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.0009532/0.3096, allocations: 0.5208 MB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3096, allocations: 8.031 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.774e-05/0.3097, allocations: 54.73 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3099, allocations: 40.67 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3102, allocations: 225 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3103, allocations: 16.38 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3103, allocations: 19.94 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.3107, allocations: 236.9 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3107, allocations: 4 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3107, allocations: 12 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3108, allocations: 4 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.3117, allocations: 0.7529 MB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3128, allocations: 0.6128 MB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.3134, allocations: 282.4 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3135, allocations: 101.4 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3136, allocations: 24.23 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.314, allocations: 179.4 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.314, allocations: 0 / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007427/0.3147, allocations: 383.5 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.3148, allocations: 136.5 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.3152, allocations: 321.1 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3152, allocations: 29.7 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3153, allocations: 140.7 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3154, allocations: 130.9 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3155, allocations: 65.69 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3157, allocations: 330.8 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3158, allocations: 87.81 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.316, allocations: 132.4 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3164, allocations: 212.6 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3164, allocations: 0 / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004718/0.3169, allocations: 289.7 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3169, allocations: 7.938 kB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3169, allocations: 4 kB / 1.294 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3169, allocations: 0 / 1.294 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3172, allocations: 63.91 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3172, allocations: 4 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3173, allocations: 23.88 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3173, allocations: 15.98 kB / 1.294 GB, free: 0.6797 MB / 0.9825 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.0001713/0.3175, allocations: 166.3 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.3176, allocations: 31.75 kB / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.3183, allocations: 384.7 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3183, allocations: 4 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3183, allocations: 0 / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3183, allocations: 3.984 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.3187, allocations: 328.2 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3187, allocations: 0 / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3189, allocations: 63.91 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3189, allocations: 3.938 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3189, allocations: 8 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3189, allocations: 4 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3189, allocations: 4 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.3194, allocations: 330.4 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3196, allocations: 67.73 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3196, allocations: 11.94 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3198, allocations: 23.97 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3199, allocations: 23.95 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.3199, allocations: 19.98 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002648/0.3202, allocations: 248.4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3202, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003482/0.3205, allocations: 87.81 kB / 1.296 GB, free: 14.82 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.002338/0.3229, allocations: 1.213 MB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.3233, allocations: 220.3 kB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3233, allocations: 0 / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.3235, allocations: 128.3 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3238, allocations: 47.88 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.3271, allocations: 2.569 MB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.3276, allocations: 0.7658 MB / 1.3 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003362/0.3279, allocations: 146.8 kB / 1.301 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3281, allocations: 103.4 kB / 1.301 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.3281, allocations: 0 / 1.301 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3665, allocations: 6.824 MB / 1.307 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 11.94 kB / 1.307 GB, free: 2.918 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.50139063806273]