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.0008868/0.0008868, 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.000904/0.000904, allocations: 169.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.9506/0.9506, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.792/1.792, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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.754e-06/1.754e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.5e-05, allocations: 5.094 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00254/0.002565, allocations: 1.873 MB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.00442, allocations: 1.796 MB / 0.9846 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.004505, allocations: 3.938 kB / 0.9846 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004727, allocations: 23.8 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.005141, allocations: 119.3 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.005487, allocations: 190.1 kB / 0.9849 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.005775, allocations: 305.2 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.005881, allocations: 25.28 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.006015, allocations: 139.8 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.006163, allocations: 91.81 kB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.006193, allocations: 20 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.006381, allocations: 135.8 kB / 0.9856 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.006467, allocations: 91.73 kB / 0.9857 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.006546, allocations: 87.73 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.006941, allocations: 406.6 kB / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006945, allocations: 0 / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006946, allocations: 0 / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006952, allocations: 0 / 0.9861 GB, free: 13.26 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.0006522/0.007604, allocations: 0.5173 MB / 0.9866 GB, free: 12.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007642, allocations: 12.02 kB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.007687, allocations: 54.73 kB / 0.9867 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.007796, allocations: 36.7 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.008014, allocations: 228.7 kB / 0.9869 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.008029, allocations: 16.75 kB / 0.987 GB, free: 12.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.008048, allocations: 20.38 kB / 0.987 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.008359, allocations: 380.8 kB / 0.9873 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.008368, allocations: 3.984 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.008385, allocations: 8 kB / 0.9874 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.008392, allocations: 8 kB / 0.9874 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.008897, allocations: 0.7015 MB / 0.9881 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.009645, allocations: 0.5736 MB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.009996, allocations: 298.3 kB / 0.9889 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.0101, allocations: 100.8 kB / 0.989 GB, free: 10.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.01014, allocations: 19.92 kB / 0.989 GB, free: 10.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.01044, allocations: 236 kB / 0.9892 GB, free: 9.875 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/0.01045, allocations: 0 / 0.9892 GB, free: 9.875 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0004732/0.01092, allocations: 381.5 kB / 0.9896 GB, free: 9.496 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.01098, allocations: 144.4 kB / 0.9897 GB, free: 9.324 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01119, allocations: 325.8 kB / 0.99 GB, free: 9.004 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.01122, allocations: 29.7 kB / 0.9901 GB, free: 8.969 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.01128, allocations: 141 kB / 0.9902 GB, free: 8.828 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.01135, allocations: 130.9 kB / 0.9903 GB, free: 8.699 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.01142, allocations: 65.69 kB / 0.9904 GB, free: 8.629 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.0115, allocations: 338.8 kB / 0.9907 GB, free: 8.289 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.0116, allocations: 87.7 kB / 0.9908 GB, free: 8.203 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.01175, allocations: 210 kB / 0.991 GB, free: 7.969 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.01197, allocations: 221.2 kB / 0.9912 GB, free: 7.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01198, allocations: 0 / 0.9912 GB, free: 7.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003027/0.01228, allocations: 292.9 kB / 0.9915 GB, free: 7.457 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01229, allocations: 4 kB / 0.9915 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.0123, allocations: 3.938 kB / 0.9915 GB, free: 7.449 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01232, allocations: 4 kB / 0.9915 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01247, allocations: 67.91 kB / 0.9916 GB, free: 7.379 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01247, allocations: 3.938 kB / 0.9916 GB, free: 7.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.01256, allocations: 23.88 kB / 0.9916 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.01257, allocations: 19.98 kB / 0.9916 GB, free: 7.332 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.000116/0.01269, allocations: 161.8 kB / 0.9918 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.01272, allocations: 27.81 kB / 0.9918 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.01314, allocations: 396.8 kB / 0.9922 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01314, allocations: 4 kB / 0.9922 GB, free: 6.738 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01315, allocations: 3.938 kB / 0.9922 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01315, allocations: 3.984 kB / 0.9922 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.01337, allocations: 284.4 kB / 0.9925 GB, free: 6.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01338, allocations: 12 kB / 0.9925 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01348, allocations: 59.91 kB / 0.9925 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01348, allocations: 4 kB / 0.9925 GB, free: 6.336 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.0135, allocations: 11.98 kB / 0.9925 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.0135, allocations: 0 / 0.9925 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.0135, allocations: 3.938 kB / 0.9925 GB, free: 6.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.01382, allocations: 339.2 kB / 0.9929 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.0139, allocations: 79.55 kB / 0.9929 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01393, allocations: 4 kB / 0.993 GB, free: 5.895 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.01402, allocations: 19.98 kB / 0.993 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.01406, allocations: 39.88 kB / 0.993 GB, free: 5.836 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.01408, allocations: 12 kB / 0.993 GB, free: 5.824 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001394/0.01422, allocations: 249.2 kB / 0.9933 GB, free: 5.578 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01422, allocations: 0 / 0.9933 GB, free: 5.578 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002456/0.01446, allocations: 83.86 kB / 0.9933 GB, free: 5.496 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.001211/0.01568, allocations: 1.257 MB / 0.9946 GB, free: 4.398 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.01602, allocations: 232 kB / 0.9948 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.01602, allocations: 0 / 0.9948 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.01614, allocations: 120.3 kB / 0.9949 GB, free: 4.055 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01638, allocations: 44.41 kB / 0.9949 GB, free: 4.012 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.01893, allocations: 2.61 MB / 0.9975 GB, free: 1.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01905, allocations: 154.9 kB / 0.9976 GB, free: 1.145 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.01928, allocations: 150.8 kB / 0.9978 GB, free: 1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.0194, allocations: 108.4 kB / 0.9979 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/0.0194, allocations: 3.938 kB / 0.9979 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.04091, allocations: 7.406 MB / 1.005 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.058, allocations: 2.438 kB / 1.005 GB, free: 9.59 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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: 11.4057452455163]