Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001149/0.001149, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001083/0.001083, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.92 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003018/0.3135, allocations: 1.639 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3151, allocations: 1.171 MB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.3152, allocations: 3.938 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3154, allocations: 23.78 kB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.3157, allocations: 67.69 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3161, allocations: 136.9 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.3164, allocations: 237.5 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3166, allocations: 16.22 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3167, allocations: 79.77 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.3169, allocations: 99.7 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.317, allocations: 16 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3171, allocations: 75.97 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3173, allocations: 79.8 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3174, allocations: 103.4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.3177, allocations: 283 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3177, allocations: 3.938 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3177, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.3178, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 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.0008465/0.3186, allocations: 0.5229 MB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3187, allocations: 12.03 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.3187, allocations: 24.66 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3191, allocations: 267.6 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3191, allocations: 20.38 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3192, allocations: 12.38 kB / 1.024 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3195, allocations: 218.4 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3195, allocations: 3.984 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.3196, allocations: 12 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3196, allocations: 4 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.3205, allocations: 0.7409 MB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009069/0.3214, allocations: 0.5706 MB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.322, allocations: 303.6 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3221, allocations: 101.4 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.3222, allocations: 20.25 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/0.3226, allocations: 181.4 kB / 1.026 GB, free: 2.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.3226, allocations: 0 / 1.026 GB, free: 2.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0006636/0.3232, allocations: 369.1 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.3233, allocations: 136.5 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.3236, allocations: 300 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3237, allocations: 33.69 kB / 1.026 GB, free: 1.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.3238, allocations: 124.7 kB / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.3239, allocations: 106.5 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.324, allocations: 69.69 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3241, allocations: 342.8 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3242, allocations: 79.95 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.3244, allocations: 125.4 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3247, allocations: 217 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3247, allocations: 0 / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004211/0.3252, allocations: 281 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3252, allocations: 12 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3252, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3252, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3255, allocations: 59.91 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3255, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3256, allocations: 31.7 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.3257, allocations: 16 kB / 1.028 GB, free: 280 kB / 0.795 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.0001569/0.3258, allocations: 162.4 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3259, allocations: 27.72 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.3266, allocations: 377.6 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3266, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3266, allocations: 0 / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3266, allocations: 7.938 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.3269, allocations: 329.2 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.3269, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3271, allocations: 63.91 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3271, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3271, allocations: 11.94 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3271, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3271, allocations: 4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3276, allocations: 329.9 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3277, allocations: 136.7 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3278, allocations: 8 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3279, allocations: 19.98 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.328, allocations: 23.91 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.328, allocations: 19.92 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001973/0.3282, allocations: 225.8 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3282, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002776/0.3285, allocations: 63.98 kB / 1.03 GB, free: 14.39 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.0008761/0.3294, allocations: 403.4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.3298, allocations: 231.9 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3298, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.33, allocations: 123.8 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3302, allocations: 38.09 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.3312, allocations: 0.4979 MB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.3317, allocations: 0.754 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.332, allocations: 142.9 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.3321, allocations: 43.41 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3321, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.006399/0.3385, allocations: 2.976 MB / 1.035 GB, free: 9.324 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches