Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002037/0.002037, allocations: 111 kB / 16.46 MB, free: 6.453 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.002581/0.002581, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_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.002053/0.002053, allocations: 72.38 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00376/0.3705, allocations: 1.904 MB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.3733, allocations: 1.767 MB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3734, allocations: 4 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.3736, allocations: 27.72 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.3741, allocations: 123.4 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.3746, allocations: 166.8 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.375, allocations: 297.2 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3751, allocations: 29.05 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3753, allocations: 103.7 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.3756, allocations: 119.6 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3756, allocations: 23.94 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.3759, allocations: 139.9 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.376, allocations: 87.73 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3762, allocations: 119.3 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.3768, allocations: 378.5 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3768, allocations: 4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3768, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3768, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 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.0009578/0.3777, allocations: 0.6039 MB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3778, allocations: 11.98 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.619e-05/0.3779, allocations: 54.73 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.378, allocations: 32.75 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3784, allocations: 278.9 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3784, allocations: 12.38 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.3784, allocations: 27.92 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.3789, allocations: 236.9 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3789, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.3789, allocations: 15.98 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3789, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/0.3799, allocations: 0.7451 MB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.381, allocations: 0.6332 MB / 1.329 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.3816, allocations: 290 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3817, allocations: 101.4 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.3818, allocations: 20.25 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.3821, allocations: 183.4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.3821, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.000755/0.3829, allocations: 378.5 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.383, allocations: 136.5 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3834, allocations: 325 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.3834, allocations: 33.7 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3835, allocations: 136.7 kB / 1.33 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3836, allocations: 122.9 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3837, allocations: 69.55 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3839, allocations: 338.8 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.384, allocations: 87.89 kB / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3843, allocations: 127.4 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.3846, allocations: 213.4 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3846, allocations: 0 / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005044/0.3851, allocations: 281.3 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3851, allocations: 7.938 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3852, allocations: 11.86 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3852, allocations: 0 / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3854, allocations: 67.91 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3854, allocations: 0 / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3856, allocations: 27.88 kB / 1.331 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3856, allocations: 8 kB / 1.331 GB, free: 8.191 MB / 1.029 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.0001814/0.3858, allocations: 161.8 kB / 1.332 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3859, allocations: 39.78 kB / 1.332 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/0.3866, allocations: 388.6 kB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3867, allocations: 7.984 kB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3867, allocations: 0 / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3867, allocations: 0 / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.3871, allocations: 357.2 kB / 1.332 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3871, allocations: 4 kB / 1.332 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3873, allocations: 55.91 kB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3873, allocations: 7.938 kB / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3873, allocations: 11.98 kB / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3873, allocations: 0 / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3873, allocations: 0 / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.3878, allocations: 326.3 kB / 1.333 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.388, allocations: 144.8 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.3881, allocations: 19.94 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3883, allocations: 23.97 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.3883, allocations: 23.91 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3883, allocations: 12 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002571/0.3886, allocations: 252.4 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003682/0.389, allocations: 83.83 kB / 1.333 GB, free: 6.207 MB / 1.029 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.002409/0.3914, allocations: 1.223 MB / 1.334 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3918, allocations: 219.8 kB / 1.335 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3918, allocations: 4 kB / 1.335 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.392, allocations: 119.8 kB / 1.335 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3924, allocations: 46.59 kB / 1.335 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.3958, allocations: 2.561 MB / 1.337 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3962, allocations: 0.7653 MB / 1.338 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.3966, allocations: 150.8 kB / 1.338 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3968, allocations: 103.4 kB / 1.338 GB, free: 1.066 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/0.3968, allocations: 0 / 1.338 GB, free: 1.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.4314, allocations: 6.569 MB / 1.345 GB, free: 10.62 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.869, allocations: 4.438 kB / 1.345 GB, free: 10.61 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.511464941082522]