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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009378/0.009378, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001426/0.001426, allocations: 196.1 kB / 16.68 MB, free: 5.523 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.261/2.261, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002949/1.054, allocations: 1.641 MB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001552/1.055, allocations: 1.163 MB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/1.055, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002335/1.056, allocations: 29.73 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/1.056, allocations: 73.14 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/1.056, allocations: 135.1 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000308/1.057, allocations: 235.1 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/1.057, allocations: 15.06 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/1.057, allocations: 77.66 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/1.057, allocations: 100.4 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/1.057, allocations: 16.56 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/1.057, allocations: 78.23 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/1.058, allocations: 79.77 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/1.058, allocations: 102.9 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/1.058, allocations: 285.1 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.058, allocations: 0.875 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/1.058, allocations: 0 / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.058, allocations: 0 / 1.092 GB, free: 3.023 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.000779/1.059, allocations: 0.5378 MB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.059, allocations: 9.344 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/1.059, allocations: 30.2 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/1.059, allocations: 266.3 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.059, allocations: 11.56 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/1.06, allocations: 15.06 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/1.06, allocations: 221.1 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.06, allocations: 4 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/1.06, allocations: 5.875 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.06, allocations: 8.906 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.061, allocations: 0.7412 MB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/1.062, allocations: 0.5699 MB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/1.063, allocations: 297.4 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/1.063, allocations: 107.9 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/1.063, allocations: 17.72 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/1.064, allocations: 177.3 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 3.206e-06/1.064, allocations: 0 / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008436/1.065, allocations: 370 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/1.065, allocations: 133.8 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/1.065, allocations: 301.6 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/1.065, allocations: 36.52 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/1.065, allocations: 127 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.065, allocations: 118.5 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.065, allocations: 65.33 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/1.065, allocations: 338.7 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.066, allocations: 81.31 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/1.066, allocations: 131.8 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/1.066, allocations: 211.4 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.066, allocations: 1.062 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005008/1.067, allocations: 276.6 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.067, allocations: 5.25 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.067, allocations: 4 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.067, allocations: 2.938 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.067, allocations: 63.2 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.067, allocations: 5.641 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/1.067, allocations: 32.23 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.067, allocations: 17.8 kB / 1.097 GB, free: 15.99 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.0002033/1.068, allocations: 158.5 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/1.068, allocations: 24.23 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/1.069, allocations: 388.7 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.069, allocations: 3.562 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.069, allocations: 0.7031 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.069, allocations: 6.031 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/1.069, allocations: 325.8 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.069, allocations: 0.9375 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/1.069, allocations: 56.23 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.069, allocations: 5.219 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.069, allocations: 10.66 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.069, allocations: 2.547 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.069, allocations: 0 / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/1.07, allocations: 325.1 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/1.07, allocations: 140.5 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/1.07, allocations: 11.61 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/1.07, allocations: 17.66 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/1.07, allocations: 29.33 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/1.07, allocations: 18.45 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002558/1.071, allocations: 230.7 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 0 / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003407/1.071, allocations: 61.08 kB / 1.099 GB, free: 14.96 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.001035/1.072, allocations: 403.2 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005029/1.073, allocations: 230.6 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.073, allocations: 4.875 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/1.073, allocations: 128.7 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/1.073, allocations: 33.2 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/1.074, allocations: 0.4959 MB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/1.075, allocations: 0.7617 MB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004118/1.075, allocations: 139.6 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.075, allocations: 53.52 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.044e-06/1.075, allocations: 0 / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.008494/1.084, allocations: 3.029 MB / 1.104 GB, free: 13.29 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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