Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001448/0.001448, allocations: 108.2 kB / 17.54 MB, free: 4.742 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.001522/0.001522, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.88 kB / 1.059 GB, free: 0.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2641, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002797/0.2668, allocations: 1.657 MB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2685, allocations: 1.231 MB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.2686, allocations: 4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.2688, allocations: 31.8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.269, allocations: 63.69 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2694, allocations: 139.2 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.2697, allocations: 233.6 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.2698, allocations: 16.17 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2699, allocations: 87.73 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2701, allocations: 95.77 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.2701, allocations: 16 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2703, allocations: 71.98 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.2704, allocations: 79.8 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2705, allocations: 107.3 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2708, allocations: 278.8 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2708, allocations: 0 / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2708, allocations: 0 / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2708, allocations: 0 / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007549/0.2716, allocations: 0.5418 MB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2716, allocations: 12.03 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.2717, allocations: 54.73 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.2717, allocations: 28.73 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.272, allocations: 263.9 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.272, allocations: 16.38 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2721, allocations: 12.38 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.2724, allocations: 216.7 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2724, allocations: 4 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2724, allocations: 8 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2724, allocations: 4 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.2733, allocations: 0.7411 MB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.2741, allocations: 0.5631 MB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.2745, allocations: 288.1 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2747, allocations: 101.4 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.2747, allocations: 16.25 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.275, allocations: 180.8 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.275, allocations: 0 / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.000644/0.2757, allocations: 369.2 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.2758, allocations: 132.5 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.276, allocations: 308 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2761, allocations: 33.7 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.2762, allocations: 124.7 kB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.2763, allocations: 119 kB / 1.224 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.2764, allocations: 61.69 kB / 1.224 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2765, allocations: 334.8 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2767, allocations: 79.95 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2768, allocations: 136.4 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.2772, allocations: 209.2 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2772, allocations: 0 / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004465/0.2776, allocations: 289.1 kB / 1.225 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2776, allocations: 6.344 kB / 1.225 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2776, allocations: 0 / 1.225 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2777, allocations: 4 kB / 1.225 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.2779, allocations: 59.91 kB / 1.225 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2779, allocations: 4 kB / 1.225 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.278, allocations: 31.81 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.278, allocations: 8 kB / 1.225 GB, free: 6.211 MB / 0.9669 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 (35): * Single equations (assignments): 35 * 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.0001523/0.2782, allocations: 169.7 kB / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.2783, allocations: 27.86 kB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.2789, allocations: 385.6 kB / 1.225 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.279, allocations: 4 kB / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.279, allocations: 0 / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.279, allocations: 3.938 kB / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.2793, allocations: 333.3 kB / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2793, allocations: 0 / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.2795, allocations: 55.91 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2795, allocations: 4 kB / 1.226 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2795, allocations: 16 kB / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2795, allocations: 0 / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2795, allocations: 0 / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.2799, allocations: 325.8 kB / 1.226 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2801, allocations: 140.8 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.2801, allocations: 8 kB / 1.226 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2802, allocations: 15.98 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2803, allocations: 27.91 kB / 1.226 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2803, allocations: 11.98 kB / 1.226 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002065/0.2805, allocations: 237.5 kB / 1.226 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2805, allocations: 0 / 1.226 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002709/0.2808, allocations: 63.88 kB / 1.226 GB, free: 4.32 MB / 0.9669 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 (34): * Single equations (assignments): 33 * 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.001942/0.2827, allocations: 1.155 MB / 1.228 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.2831, allocations: 219.9 kB / 1.228 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2831, allocations: 0 / 1.228 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.2833, allocations: 119.8 kB / 1.228 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.2836, allocations: 48.39 kB / 1.228 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.2864, allocations: 2.456 MB / 1.23 GB, free: 380 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2868, allocations: 0.7579 MB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.2871, allocations: 146.9 kB / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.2872, allocations: 95.33 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.2872, allocations: 0 / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3177, allocations: 5.482 MB / 1.237 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.476, allocations: 10.97 kB / 1.237 GB, free: 9.883 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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: 12.796290486003272]