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.0009188/0.0009188, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001352/0.001352, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8713/0.8713, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.68/1.68, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.536e-05, allocations: 4.812 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002153/0.002169, allocations: 1.866 MB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.00374, allocations: 1.803 MB / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.003805, allocations: 0 / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.004014, allocations: 27.77 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.004339, allocations: 131.2 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.00463, allocations: 172.3 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.004874, allocations: 305.2 kB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.004969, allocations: 21.3 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.005152, allocations: 143.8 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.005286, allocations: 91.8 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.005314, allocations: 20 kB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.005468, allocations: 131.8 kB / 0.9856 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.005543, allocations: 91.78 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.005608, allocations: 83.75 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.00593, allocations: 414.6 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005932, allocations: 4 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005933, allocations: 0 / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005938, allocations: 0 / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005763/0.006514, allocations: 0.5212 MB / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.006547, allocations: 8.031 kB / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.006589, allocations: 54.73 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.006688, allocations: 44.69 kB / 0.9867 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.006897, allocations: 216.8 kB / 0.9869 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.006913, allocations: 20.75 kB / 0.987 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006932, allocations: 20.31 kB / 0.987 GB, free: 12.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.007236, allocations: 380.9 kB / 0.9873 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007243, allocations: 0 / 0.9873 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.007261, allocations: 8 kB / 0.9874 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007267, allocations: 7.984 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.007769, allocations: 0.7015 MB / 0.988 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.00846, allocations: 0.5814 MB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.008799, allocations: 298.2 kB / 0.9889 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.008904, allocations: 104.8 kB / 0.989 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.008933, allocations: 11.98 kB / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.009181, allocations: 232 kB / 0.9892 GB, free: 9.895 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.009183, allocations: 0 / 0.9892 GB, free: 9.895 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0004631/0.009646, allocations: 389.5 kB / 0.9896 GB, free: 9.508 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.009701, allocations: 140.4 kB / 0.9897 GB, free: 9.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.009911, allocations: 329.8 kB / 0.99 GB, free: 9.016 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.009932, allocations: 33.7 kB / 0.9901 GB, free: 8.977 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.009997, allocations: 133.1 kB / 0.9902 GB, free: 8.844 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.01006, allocations: 130.9 kB / 0.9903 GB, free: 8.715 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.01013, allocations: 69.69 kB / 0.9904 GB, free: 8.641 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.01023, allocations: 338.8 kB / 0.9907 GB, free: 8.301 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.01033, allocations: 83.7 kB / 0.9908 GB, free: 8.219 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01048, allocations: 214 kB / 0.991 GB, free: 7.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01071, allocations: 213.2 kB / 0.9912 GB, free: 7.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01071, allocations: 0 / 0.9912 GB, free: 7.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003061/0.01101, allocations: 300.8 kB / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01103, allocations: 4 kB / 0.9915 GB, free: 7.465 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01103, allocations: 4 kB / 0.9915 GB, free: 7.461 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01105, allocations: 4 kB / 0.9915 GB, free: 7.457 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.01119, allocations: 71.78 kB / 0.9916 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.0112, allocations: 4 kB / 0.9916 GB, free: 7.383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.01128, allocations: 23.88 kB / 0.9916 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01129, allocations: 12 kB / 0.9916 GB, free: 7.348 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.000111/0.0114, allocations: 165.7 kB / 0.9918 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01144, allocations: 31.81 kB / 0.9918 GB, free: 7.145 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.01195, allocations: 388.8 kB / 0.9922 GB, free: 6.758 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01196, allocations: 4 kB / 0.9922 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01197, allocations: 3.938 kB / 0.9922 GB, free: 6.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01197, allocations: 3.938 kB / 0.9922 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.01218, allocations: 288.4 kB / 0.9925 GB, free: 6.422 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01219, allocations: 4 kB / 0.9925 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.01229, allocations: 63.91 kB / 0.9925 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01229, allocations: 0 / 0.9925 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.0123, allocations: 8 kB / 0.9925 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.0123, allocations: 0 / 0.9925 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0123, allocations: 7.938 kB / 0.9925 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.01261, allocations: 339.1 kB / 0.9929 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.01268, allocations: 71.69 kB / 0.9929 GB, free: 5.922 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.01272, allocations: 11.98 kB / 0.9929 GB, free: 5.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.0128, allocations: 27.98 kB / 0.993 GB, free: 5.883 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.01284, allocations: 23.89 kB / 0.993 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01286, allocations: 19.98 kB / 0.993 GB, free: 5.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001511/0.01301, allocations: 245.2 kB / 0.9932 GB, free: 5.598 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01301, allocations: 0 / 0.9932 GB, free: 5.598 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002145/0.01322, allocations: 83.86 kB / 0.9933 GB, free: 5.516 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001322/0.01455, allocations: 1.262 MB / 0.9946 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.01485, allocations: 224 kB / 0.9948 GB, free: 4.195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01485, allocations: 0 / 0.9948 GB, free: 4.195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01498, allocations: 128.3 kB / 0.9949 GB, free: 4.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.01518, allocations: 48.36 kB / 0.9949 GB, free: 4.023 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.01714, allocations: 2.613 MB / 0.9975 GB, free: 1.328 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.137e-05/0.01723, allocations: 155 kB / 0.9976 GB, free: 1.152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.01742, allocations: 146.9 kB / 0.9978 GB, free: 1.012 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01752, allocations: 104.5 kB / 0.9979 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.01752, allocations: 0 / 0.9979 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.03821, allocations: 7.399 MB / 1.005 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/6.986, allocations: 8.656 kB / 1.005 GB, free: 9.613 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.923302572220564]