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.007335/0.007335, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001531/0.001531, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 62.7 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3057, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002875/0.3086, allocations: 1.631 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3104, allocations: 1.168 MB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.3105, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3108, allocations: 31.78 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.3111, allocations: 59.69 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.3115, allocations: 138.4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.3118, allocations: 233.6 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3119, allocations: 28.16 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.3121, allocations: 79.83 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.3123, allocations: 91.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.3123, allocations: 16 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.3125, allocations: 75.97 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3126, allocations: 87.75 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3127, allocations: 103.4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.3131, allocations: 283.1 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3131, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3131, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3132, allocations: 4 kB / 1.092 GB, free: 13.47 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.0008374/0.314, allocations: 0.5265 MB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3141, allocations: 12.02 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.3141, allocations: 28.56 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3145, allocations: 255.8 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3145, allocations: 12.38 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3146, allocations: 24.31 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.3149, allocations: 216.9 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3149, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.315, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.315, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.3158, allocations: 0.7449 MB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.3166, allocations: 0.5706 MB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.3171, allocations: 300.7 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3173, allocations: 101.4 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.3173, allocations: 20.25 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.3177, allocations: 188.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3177, allocations: 4 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0006557/0.3184, allocations: 365.1 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.3185, allocations: 132.5 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3188, allocations: 300 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.3188, allocations: 33.7 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.3189, allocations: 124.7 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.319, allocations: 118.2 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.3191, allocations: 61.67 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3192, allocations: 346.8 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3194, allocations: 79.95 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3196, allocations: 123.4 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.3199, allocations: 218.2 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3199, allocations: 0 / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004041/0.3203, allocations: 277.1 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3203, allocations: 4 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3203, allocations: 4 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3204, allocations: 3.984 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3206, allocations: 63.95 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3206, allocations: 4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3208, allocations: 30.02 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3208, allocations: 11.98 kB / 1.097 GB, free: 7.953 MB / 0.8575 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.0001519/0.3209, allocations: 161.8 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.321, allocations: 23.72 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.3216, allocations: 384.3 kB / 1.098 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3217, allocations: 4 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3217, allocations: 4 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3217, allocations: 7.922 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.322, allocations: 325.3 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.322, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.3222, allocations: 55.91 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3222, allocations: 0 / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3222, allocations: 11.98 kB / 1.098 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3222, allocations: 8 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3222, allocations: 0 / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.3227, allocations: 323.1 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3228, allocations: 144.7 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.3229, allocations: 7.938 kB / 1.098 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.323, allocations: 15.98 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.3231, allocations: 27.91 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.3231, allocations: 15.92 kB / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001866/0.3233, allocations: 233.6 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3233, allocations: 0 / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000291/0.3236, allocations: 63.98 kB / 1.099 GB, free: 6.074 MB / 0.8575 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.0009803/0.3246, allocations: 412.1 kB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.325, allocations: 227.8 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.325, allocations: 0 / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.3252, allocations: 127.9 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3255, allocations: 33.67 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.3264, allocations: 0.4931 MB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3267, allocations: 0.754 MB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.3271, allocations: 138.9 kB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.3272, allocations: 55.34 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3272, allocations: 0 / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.006618/0.3338, allocations: 3.053 MB / 1.104 GB, free: 0.9062 MB / 0.8575 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