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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001664/0.001664, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001705/0.001705, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.5 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 67.8 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3094, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003212/0.3126, allocations: 1.636 MB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3144, allocations: 1.175 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.3145, allocations: 3.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.3148, allocations: 19.86 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.3151, allocations: 67.66 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.3155, allocations: 143.5 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3158, allocations: 233.6 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.316, allocations: 20.2 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3161, allocations: 83.77 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.3163, allocations: 91.64 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.3164, allocations: 16 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3166, allocations: 75.97 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3167, allocations: 87.75 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.3168, allocations: 103.4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.3172, allocations: 287 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3172, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3172, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3172, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 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.0007675/0.318, allocations: 0.5267 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.318, allocations: 8.031 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.3181, allocations: 36.56 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.3184, allocations: 263.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3185, allocations: 8.375 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.3185, allocations: 16.38 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.3189, allocations: 216.9 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3189, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3189, allocations: 8 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3189, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.3198, allocations: 0.7451 MB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.3206, allocations: 0.5628 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.3211, allocations: 304.1 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3213, allocations: 101.4 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.3213, allocations: 20.25 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.3216, allocations: 180.9 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.3217, allocations: 0 / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0006538/0.3223, allocations: 365.1 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3224, allocations: 136.5 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3227, allocations: 304 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3227, allocations: 33.7 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3228, allocations: 124.7 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.3229, allocations: 122.3 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.323, allocations: 61.69 kB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3231, allocations: 342.8 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3233, allocations: 79.95 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3235, allocations: 125.1 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.3238, allocations: 217 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3238, allocations: 0 / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004308/0.3242, allocations: 281.1 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3243, allocations: 4 kB / 1.036 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3243, allocations: 0 / 1.036 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3243, allocations: 4 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3245, allocations: 63.91 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3245, allocations: 0 / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3247, allocations: 31.7 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3247, allocations: 11.98 kB / 1.036 GB, free: 8.504 MB / 0.8106 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.0001499/0.3249, allocations: 170.5 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.3249, allocations: 23.72 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.3256, allocations: 381.5 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3256, allocations: 8.031 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3256, allocations: 4 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.3256, allocations: 7.922 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3259, allocations: 329.3 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3259, allocations: 0 / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3261, allocations: 55.91 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3261, allocations: 4 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3262, allocations: 11.98 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3262, allocations: 0 / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3262, allocations: 4 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.3266, allocations: 321.7 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3268, allocations: 140.7 kB / 1.037 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.3268, allocations: 8 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.327, allocations: 11.98 kB / 1.037 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.327, allocations: 27.95 kB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.3271, allocations: 15.94 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001861/0.3273, allocations: 233.8 kB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3273, allocations: 0 / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003097/0.3276, allocations: 56 kB / 1.037 GB, free: 6.625 MB / 0.8106 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.0009302/0.3285, allocations: 419.4 kB / 1.038 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3289, allocations: 228.1 kB / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.329, allocations: 0 / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3292, allocations: 132.4 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.3294, allocations: 34.16 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.3302, allocations: 0.4936 MB / 1.039 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3305, allocations: 0.754 MB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.3308, allocations: 142.9 kB / 1.04 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.3309, allocations: 47.42 kB / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.3309, allocations: 0 / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of Templates: time 0.006667/0.3376, allocations: 2.977 MB / 1.043 GB, free: 1.527 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) 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) Reference file matches