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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.107 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.8895, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003212/0.8927, allocations: 1.899 MB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.8948, allocations: 1.678 MB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.8949, allocations: 1.844 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.8951, allocations: 24.75 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.8954, allocations: 79.92 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.8958, allocations: 178.7 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.8961, allocations: 279.8 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.8962, allocations: 26.3 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8963, allocations: 95.53 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.8966, allocations: 108.2 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.8966, allocations: 20.44 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.8968, allocations: 81.67 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.8969, allocations: 95.91 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.897, allocations: 124.5 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.8974, allocations: 333.2 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8974, allocations: 0.6875 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8974, allocations: 0 / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8974, allocations: 0.9062 kB / 1.276 GB, free: 4.551 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.0007055/0.8981, allocations: 0.5631 MB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8981, allocations: 9.844 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.8982, allocations: 55.77 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.8983, allocations: 36.91 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.8986, allocations: 274.9 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.8986, allocations: 16.06 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.8986, allocations: 19 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.899, allocations: 240.5 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.899, allocations: 0 / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.899, allocations: 10.66 kB / 1.278 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.8991, allocations: 8.656 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.9001, allocations: 0.7449 MB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.901, allocations: 0.6297 MB / 1.279 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.9016, allocations: 301.7 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.9018, allocations: 105.9 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.9018, allocations: 20.98 kB / 1.279 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.9022, allocations: 181.8 kB / 1.28 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.9022, allocations: 0 / 1.28 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0007442/0.903, allocations: 382.5 kB / 1.28 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.903, allocations: 140.4 kB / 1.28 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.9033, allocations: 310.2 kB / 1.28 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.9033, allocations: 36.14 kB / 1.28 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.9034, allocations: 138 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.9035, allocations: 123.6 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.9036, allocations: 62.12 kB / 1.281 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.9036, allocations: 340.3 kB / 1.281 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.9038, allocations: 78.94 kB / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.904, allocations: 129.3 kB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.9043, allocations: 221.4 kB / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9043, allocations: 0 / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004157/0.9047, allocations: 282.3 kB / 1.282 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9047, allocations: 11.62 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9047, allocations: 0.75 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9047, allocations: 3.531 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.905, allocations: 62.95 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.905, allocations: 2.469 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.9051, allocations: 32.17 kB / 1.282 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.9051, allocations: 15.28 kB / 1.282 GB, free: 1.398 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.0001337/0.9053, allocations: 162.1 kB / 1.282 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.9053, allocations: 30.48 kB / 1.282 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.906, allocations: 389.1 kB / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.906, allocations: 5.656 kB / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.906, allocations: 0 / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.906, allocations: 2.062 kB / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.9063, allocations: 339.3 kB / 1.283 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9063, allocations: 0.7031 kB / 1.283 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.9065, allocations: 62.69 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9065, allocations: 3.938 kB / 1.283 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.9065, allocations: 15.34 kB / 1.283 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9065, allocations: 2.734 kB / 1.283 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9065, allocations: 0 / 1.283 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.9069, allocations: 330 kB / 1.283 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.907, allocations: 147.2 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.9071, allocations: 11.83 kB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.9073, allocations: 20.8 kB / 1.283 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.9073, allocations: 29.66 kB / 1.283 GB, free: 500 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.9073, allocations: 18.97 kB / 1.283 GB, free: 496 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001775/0.9075, allocations: 234.7 kB / 1.284 GB, free: 372 kB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9075, allocations: 0 / 1.284 GB, free: 372 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003015/0.9078, allocations: 67.08 kB / 1.284 GB, free: 356 kB / 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.002044/0.9099, allocations: 1.169 MB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.9103, allocations: 220.6 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9103, allocations: 0 / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9105, allocations: 120.7 kB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.9108, allocations: 37.5 kB / 1.285 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.914, allocations: 2.541 MB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.9145, allocations: 0.7617 MB / 1.288 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.9148, allocations: 146.2 kB / 1.288 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.915, allocations: 105.8 kB / 1.289 GB, free: 13.04 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.915, allocations: 0 / 1.289 GB, free: 13.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.9673, allocations: 6.032 MB / 1.294 GB, free: 12.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.56, allocations: 11.09 kB / 1.294 GB, free: 12.04 MB / 1.014 GB " [Timeout remaining time 288] (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 --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_2/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.816967006016057]