Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001396/0.001396, allocations: 193 kB / 16.13 MB, free: 6.648 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.546/1.546, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.879/2.879, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.97 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3172, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001912/0.3191, allocations: 0.7378 MB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.32, allocations: 0.8312 MB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.3201, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.3201, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.3202, allocations: 7.938 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.3203, allocations: 15.98 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.3204, allocations: 31.92 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.3205, allocations: 4 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.3206, allocations: 15.92 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.3206, allocations: 23.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3206, allocations: 0 / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.3206, allocations: 4 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.3207, allocations: 0 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.3207, allocations: 11.92 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.58e-05/0.3208, allocations: 35.89 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3208, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3208, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.3208, allocations: 0 / 1.054 GB, free: 7.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004874/0.3213, allocations: 363.6 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3213, allocations: 8.031 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3214, allocations: 4.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3215, allocations: 164.3 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.3215, allocations: 4.375 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3215, allocations: 4.375 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3217, allocations: 58.22 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3217, allocations: 192 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3218, allocations: 7.938 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3218, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.322, allocations: 59.92 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.3224, allocations: 276.8 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3226, allocations: 62.41 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3227, allocations: 36.89 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3228, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3228, allocations: 34.5 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3228, allocations: 3.938 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004589/0.3233, allocations: 117.6 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3233, allocations: 55.34 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.3234, allocations: 105.8 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3234, allocations: 25.7 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.3234, allocations: 80.14 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3235, allocations: 11.89 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3235, allocations: 13.72 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.3236, allocations: 319 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3237, allocations: 32.83 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3239, allocations: 41.69 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.3241, allocations: 60.89 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3241, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002623/0.3244, allocations: 97.5 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3244, allocations: 5.562 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3244, allocations: 4.031 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3244, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3245, allocations: 11.98 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3245, allocations: 4 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3246, allocations: 11.98 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3246, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001075/0.3247, allocations: 100.1 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.953e-05/0.3248, allocations: 33.7 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001322/0.325, allocations: 36.83 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.325, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001779/0.3252, allocations: 81.42 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.3252, allocations: 8.125 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.3252, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/0.3252, allocations: 3.984 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.3252, allocations: 11.98 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-06/0.3252, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.3253, allocations: 11.92 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3253, allocations: 4 kB / 1.056 GB, free: 4.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.631e-05/0.3254, allocations: 180.2 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3254, allocations: 4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.3255, allocations: 15.47 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3255, allocations: 3.984 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3255, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3255, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3256, allocations: 161.6 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3257, allocations: 4.25 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.3257, allocations: 11.98 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3258, allocations: 7.938 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3258, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3258, allocations: 4 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3258, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3261, allocations: 187.4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3261, allocations: 81.02 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3261, allocations: 8 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.3262, allocations: 12.02 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3263, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3263, allocations: 4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.3264, allocations: 83.27 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3264, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000276/0.3266, allocations: 12 kB / 1.057 GB, free: 3.664 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001682/0.3268, allocations: 95.25 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.3272, allocations: 87.84 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3272, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3273, allocations: 27.97 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3276, allocations: 16.06 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.328, allocations: 131.2 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3283, allocations: 0.677 MB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3283, allocations: 4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.3284, allocations: 11.42 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3284, allocations: 4 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of Templates: time 0.002515/0.3309, allocations: 0.5175 MB / 1.058 GB, free: 2.043 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches