Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007473/0.007473, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 195.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7628, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002873/0.7657, allocations: 1.635 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7673, allocations: 1.162 MB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.7674, allocations: 1 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.7676, allocations: 24.84 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.7679, allocations: 78.69 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.7683, allocations: 130.6 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.7686, allocations: 229.6 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.7687, allocations: 31.42 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.7688, allocations: 77.84 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.769, allocations: 99.36 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.7691, allocations: 16.69 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.7692, allocations: 73.72 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.7694, allocations: 80.19 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.7695, allocations: 99.5 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.7699, allocations: 288.4 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7699, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7699, allocations: 0.8125 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7699, allocations: 4 kB / 1.091 GB, free: 2.77 MB / 0.8575 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.0006966/0.7706, allocations: 0.5264 MB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.7706, allocations: 14.17 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.7707, allocations: 53.14 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.7708, allocations: 29.5 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.771, allocations: 263.1 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.771, allocations: 10.38 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.7711, allocations: 14.91 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.7715, allocations: 221.4 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.7715, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.7715, allocations: 6.125 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7715, allocations: 4.25 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.7726, allocations: 0.7423 MB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.7734, allocations: 0.5578 MB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.7741, allocations: 310.6 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7743, allocations: 98.19 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.7744, allocations: 22.33 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.7749, allocations: 176.5 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.7749, allocations: 0 / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0009504/0.7758, allocations: 374.3 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.7759, allocations: 133.7 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.7764, allocations: 302.5 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.7764, allocations: 31.58 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.7765, allocations: 127.2 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.7766, allocations: 118.1 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.7768, allocations: 61.48 kB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7769, allocations: 341.9 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7771, allocations: 84.98 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.7774, allocations: 121 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.7778, allocations: 214.9 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7778, allocations: 1.062 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005093/0.7783, allocations: 279.8 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7784, allocations: 5.25 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.7784, allocations: 1.609 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7784, allocations: 2.188 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.7786, allocations: 66.3 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.7787, allocations: 2.328 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.7788, allocations: 27.58 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.7789, allocations: 10.56 kB / 1.097 GB, free: 15.72 MB / 0.8731 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.0001672/0.779, allocations: 161.8 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.7791, allocations: 25.02 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.7798, allocations: 376.6 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7798, allocations: 3.281 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7799, allocations: 5.094 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.7799, allocations: 10.05 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.7802, allocations: 333.2 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7802, allocations: 1.062 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.7804, allocations: 56.94 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.7804, allocations: 1.797 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.7805, allocations: 10.05 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7805, allocations: 1.562 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7805, allocations: 0 / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.781, allocations: 331.9 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.7812, allocations: 145.7 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.7812, allocations: 7.922 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7813, allocations: 12.94 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.7814, allocations: 25.02 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.7815, allocations: 15.34 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002524/0.7817, allocations: 231.4 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7817, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003156/0.7821, allocations: 56.5 kB / 1.098 GB, free: 14.7 MB / 0.8731 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.001674/0.7837, allocations: 1.166 MB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.7842, allocations: 225.9 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7842, allocations: 1.094 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.7844, allocations: 128.3 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.7847, allocations: 38.72 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.7879, allocations: 2.468 MB / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.7882, allocations: 0.7572 MB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.7886, allocations: 147.8 kB / 1.103 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.7887, allocations: 91.83 kB / 1.103 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.7887, allocations: 1.219 kB / 1.103 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.8162, allocations: 5.463 MB / 1.108 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.678, allocations: 26.61 kB / 1.109 GB, free: 10.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches