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.001276/0.001276, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001412/0.001412, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 63.47 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3339, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002049/0.336, allocations: 0.6769 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.337, allocations: 0.8391 MB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.337, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3371, allocations: 3.938 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.3372, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3373, allocations: 11.98 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.3374, allocations: 31.92 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3376, allocations: 11.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.3376, allocations: 15.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.3377, allocations: 15.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3377, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.3377, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.3378, allocations: 7.984 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.3378, allocations: 15.88 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.3379, allocations: 31.88 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3379, allocations: 4 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3379, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.3379, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 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.0005268/0.3385, allocations: 361.5 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3385, allocations: 12.62 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3385, allocations: 0.9375 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3387, allocations: 172.3 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3387, allocations: 384 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3387, allocations: 384 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.339, allocations: 70.2 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.339, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.339, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.339, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.3393, allocations: 59.88 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3397, allocations: 265 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3399, allocations: 62.41 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3401, allocations: 32.89 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3401, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3401, allocations: 34.56 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3401, allocations: 3.938 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004893/0.3406, allocations: 113.5 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3407, allocations: 59.53 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.3407, allocations: 101.9 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3408, allocations: 25.7 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.3408, allocations: 88.12 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3409, allocations: 3.906 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3409, allocations: 17.72 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.341, allocations: 310.8 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3411, allocations: 36.83 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3413, allocations: 45.67 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3415, allocations: 61.08 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3416, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002911/0.3418, allocations: 93.58 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3419, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3419, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3419, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.342, allocations: 11.98 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.342, allocations: 4.031 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.3421, allocations: 15.97 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3421, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000118/0.3423, allocations: 100.1 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.459e-05/0.3424, allocations: 25.7 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001517/0.3425, allocations: 48.84 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.3425, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002006/0.3427, allocations: 69.52 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3427, allocations: 5.875 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.3428, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.3428, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.3428, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.3428, allocations: 8.016 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.3429, allocations: 15.92 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-06/0.3429, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 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.935e-05/0.343, allocations: 180.2 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.343, allocations: 11.97 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.3431, allocations: 7.531 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3431, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3431, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3431, allocations: 7.938 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3433, allocations: 169.5 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3433, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.3434, allocations: 11.98 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3434, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.3434, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3434, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3434, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3437, allocations: 191.3 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3438, allocations: 77.11 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3438, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3439, allocations: 11.98 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3439, allocations: 4 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3439, allocations: 8.031 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.344, allocations: 83.27 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.344, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002732/0.3443, allocations: 4 kB / 1.069 GB, free: 9.887 MB / 0.8419 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.0001259/0.3444, allocations: 111.2 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3448, allocations: 79.91 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3448, allocations: 0 / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3449, allocations: 31.97 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3452, allocations: 3.938 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.3456, allocations: 167.4 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3459, allocations: 0.6768 MB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.3459, allocations: 7.438 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3459, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.001835/0.3478, allocations: 0.6189 MB / 1.071 GB, free: 8.133 MB / 0.8419 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/jenkins1/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