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.001254/0.001254, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.00124/0.00124, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.81 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, 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.00342/0.3515, allocations: 1.648 MB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3535, allocations: 1.167 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.3536, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3539, allocations: 31.77 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3542, allocations: 59.7 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3546, allocations: 139 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.3549, allocations: 237.6 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.355, allocations: 20.22 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.3551, allocations: 79.77 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3554, allocations: 95.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.3554, allocations: 20 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3556, allocations: 79.95 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.3557, allocations: 75.75 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3558, allocations: 103.4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.3561, allocations: 283 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3561, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3561, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3562, allocations: 0 / 1.031 GB, free: 14 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.0007648/0.3569, allocations: 0.5268 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.357, allocations: 15.97 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.357, allocations: 28.56 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3573, allocations: 259.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3574, allocations: 12.38 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.3574, allocations: 12.38 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3578, allocations: 224.8 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3578, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3578, allocations: 11.98 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3578, allocations: 4 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.3587, allocations: 0.7412 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.3596, allocations: 0.5667 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.3601, allocations: 296.2 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3603, allocations: 109.3 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.3603, allocations: 24.23 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.3607, allocations: 172.9 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3607, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0006719/0.3614, allocations: 365.2 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.3615, allocations: 136.5 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3618, allocations: 308 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3618, allocations: 33.7 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.3619, allocations: 124.7 kB / 1.034 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.362, allocations: 110.4 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3621, allocations: 65.69 kB / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3623, allocations: 338.8 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3624, allocations: 79.95 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3626, allocations: 125.2 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.363, allocations: 225 kB / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.363, allocations: 0 / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004247/0.3634, allocations: 281.1 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3634, allocations: 4 kB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3634, allocations: 0 / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3635, allocations: 0 / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3637, allocations: 63.91 kB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3637, allocations: 4 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3639, allocations: 31.7 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3639, allocations: 15.98 kB / 1.036 GB, free: 8.488 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.0001516/0.3641, allocations: 162.5 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3641, allocations: 27.66 kB / 1.036 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.3648, allocations: 385.5 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3648, allocations: 4 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3648, allocations: 0 / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3648, allocations: 7.922 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.3651, allocations: 321.3 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3652, allocations: 4 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3653, allocations: 55.91 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3653, allocations: 0 / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3654, allocations: 19.98 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3654, allocations: 4 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3654, allocations: 0 / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.3659, allocations: 317.7 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.366, allocations: 144.7 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3661, allocations: 7.984 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3662, allocations: 12 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.3663, allocations: 27.95 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3663, allocations: 15.94 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3665, allocations: 233.8 kB / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3665, allocations: 0 / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002915/0.3668, allocations: 60 kB / 1.037 GB, free: 6.613 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.0009715/0.3678, allocations: 406.6 kB / 1.038 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.3682, 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.364e-06/0.3682, allocations: 0 / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.3684, 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.000265/0.3687, allocations: 38.78 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.3695, allocations: 0.4936 MB / 1.039 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3698, allocations: 0.7618 MB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000311/0.3701, allocations: 146.8 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.3702, allocations: 39.42 kB / 1.04 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3702, allocations: 4 kB / 1.04 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of Templates: time 0.006409/0.3766, allocations: 2.963 MB / 1.043 GB, free: 1.531 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 cvode -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