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.001099/0.001099, allocations: 103.8 kB / 16.4 MB, free: 6.465 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.001058/0.001058, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7248, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001797/0.7266, allocations: 0.6728 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.7276, allocations: 0.8429 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.7276, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.7277, allocations: 3.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.7278, allocations: 3.984 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.7279, allocations: 15.94 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.728, allocations: 31.91 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7281, allocations: 8 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.7282, allocations: 15.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.7283, allocations: 15.97 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.7283, allocations: 11.94 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.7283, allocations: 4 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.7283, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.7284, allocations: 15.92 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.7285, allocations: 35.88 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7285, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7285, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7285, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 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.0005153/0.729, allocations: 351.2 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7291, allocations: 12.03 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.7291, allocations: 0.9375 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.7292, allocations: 176.2 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.7292, allocations: 384 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.7293, allocations: 384 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.7295, allocations: 66.22 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7295, allocations: 192 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7295, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7295, allocations: 4 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.7298, allocations: 51.94 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.7302, allocations: 261 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.7304, allocations: 70.41 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.7305, allocations: 32.89 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.7306, allocations: 3.984 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.7306, allocations: 34.56 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7306, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004591/0.7311, allocations: 117.5 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.7311, allocations: 51.41 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.7312, allocations: 105.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.7312, allocations: 25.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.7313, allocations: 92.27 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.7313, allocations: 7.844 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.7313, allocations: 17.66 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.7314, allocations: 318.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.7316, allocations: 32.83 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7317, allocations: 41.69 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.7319, allocations: 56.8 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.732, allocations: 0 / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002736/0.7322, allocations: 101.5 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7323, allocations: 4 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7323, allocations: 4 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7323, allocations: 3.984 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.7324, allocations: 11.98 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7324, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.7325, allocations: 14.06 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7325, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001127/0.7326, allocations: 108.2 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.024e-05/0.7327, allocations: 29.69 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001336/0.7328, allocations: 36.83 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.7329, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001864/0.733, allocations: 77.62 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.7331, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.7331, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.7331, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.7331, allocations: 7.984 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.7331, allocations: 3.984 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.7332, allocations: 11.98 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-06/0.7332, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 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.604e-05/0.7333, allocations: 188.2 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.7333, allocations: 4 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.7334, allocations: 3.531 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7334, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7334, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7334, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.7335, allocations: 169.6 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7335, allocations: 0 / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.7336, allocations: 15.98 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7336, allocations: 0 / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7336, allocations: 7.922 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7336, allocations: 4 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7337, allocations: 3.938 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.734, allocations: 187.3 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.734, allocations: 77.11 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.734, allocations: 7.922 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.7341, allocations: 8 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.7341, allocations: 3.984 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.7342, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.7342, allocations: 83.28 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7342, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002599/0.7345, allocations: 8 kB / 1.213 GB, free: 8.445 MB / 0.9356 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.000118/0.7346, allocations: 107.3 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.735, allocations: 75.86 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.735, allocations: 0 / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.7351, allocations: 36.09 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.7354, allocations: 9.656 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7358, allocations: 163 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.736, allocations: 0.6807 MB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.736, allocations: 7.438 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.736, allocations: 64 / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of Templates: time 0.001831/0.7379, allocations: 0.6451 MB / 1.215 GB, free: 6.676 MB / 0.9356 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