Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001795/0.001795, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002308/0.002308, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",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.002006/0.002006, allocations: 62.56 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.349, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003472/0.3525, allocations: 1.7 MB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3547, allocations: 1.391 MB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.3548, allocations: 3.938 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.355, allocations: 27.78 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.3554, allocations: 108.8 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.3558, allocations: 134 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.3561, allocations: 249.5 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3562, allocations: 15.98 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3564, allocations: 87.75 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.3566, allocations: 103.7 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.3567, allocations: 20 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.3569, allocations: 119.9 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.357, allocations: 95.73 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3571, allocations: 107.3 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.3576, allocations: 330.7 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3576, allocations: 0 / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3576, allocations: 0 / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3576, allocations: 0 / 1.35 GB, free: 11.95 MB / 1.045 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.000843/0.3584, allocations: 0.4895 MB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3585, allocations: 8.031 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.3585, allocations: 8.188 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.3586, allocations: 54.73 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.3586, allocations: 28.75 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3589, allocations: 213.1 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.359, allocations: 8.375 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.359, allocations: 20.12 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.3594, allocations: 212.9 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3594, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3594, allocations: 8 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3594, allocations: 4 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.3604, allocations: 0.7449 MB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.3612, allocations: 0.5465 MB / 1.352 GB, free: 9.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.3617, allocations: 275.6 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3619, allocations: 101.4 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3619, allocations: 16.25 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.3623, allocations: 180.8 kB / 1.353 GB, free: 8.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.3623, allocations: 0 / 1.353 GB, free: 8.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0007026/0.363, allocations: 369.3 kB / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.3631, allocations: 132.5 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.3635, allocations: 316.9 kB / 1.353 GB, free: 8.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3635, allocations: 33.7 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.3636, allocations: 136.7 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3637, allocations: 119 kB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.3638, allocations: 61.69 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.364, allocations: 338.8 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3641, allocations: 79.95 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3643, allocations: 127.2 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3646, allocations: 218.4 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3646, allocations: 0 / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004501/0.3651, allocations: 277.3 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3651, allocations: 13.64 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3651, allocations: 4 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3651, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.3654, allocations: 63.91 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3654, allocations: 3.938 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3655, allocations: 23.88 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3656, allocations: 8 kB / 1.355 GB, free: 6.527 MB / 1.045 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.0001755/0.3657, allocations: 165.8 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.3658, allocations: 27.81 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.3665, allocations: 398 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3665, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3665, allocations: 7.938 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3665, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.3669, allocations: 304.4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3669, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3671, allocations: 59.91 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3671, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3671, allocations: 19.98 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3671, allocations: 0 / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3671, allocations: 3.938 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.3676, allocations: 314.4 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3677, allocations: 67.69 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.3678, allocations: 8 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3679, allocations: 11.98 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.368, allocations: 31.89 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.368, allocations: 19.98 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002263/0.3682, allocations: 240.4 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003289/0.3686, allocations: 71.88 kB / 1.356 GB, free: 4.734 MB / 1.045 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.002367/0.3709, allocations: 1.212 MB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.3714, allocations: 227.8 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3714, allocations: 4 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3716, allocations: 115.8 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3719, allocations: 39.98 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.375, allocations: 2.51 MB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3754, allocations: 0.7535 MB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.3758, allocations: 146.8 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.376, allocations: 99.39 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.376, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.4064, allocations: 6.297 MB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 11 kB / 1.368 GB, free: 9.434 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.641593015985563]