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.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.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.0008799/0.0008797, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 13.12 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3105, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0008565/0.3114, allocations: 408.5 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3124, allocations: 0.8273 MB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.3125, allocations: 0 / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.3125, allocations: 3.938 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.3126, allocations: 0 / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.3127, allocations: 23.98 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.3128, allocations: 27.92 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3129, allocations: 8 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.313, allocations: 15.91 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.3131, allocations: 19.86 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3131, allocations: 4 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.3131, allocations: 0 / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3131, allocations: 0 / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.3132, allocations: 41.62 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.833e-05/0.3132, allocations: 19.95 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3132, allocations: 7.938 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3132, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3132, allocations: 0 / 1.061 GB, free: 3.555 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.0005258/0.3138, allocations: 363.7 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3138, allocations: 15.97 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3139, allocations: 12.83 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.314, allocations: 164.4 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.314, allocations: 8.359 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.314, allocations: 384 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3143, allocations: 74.22 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3143, allocations: 192 / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3143, allocations: 3.938 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3143, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.3146, allocations: 79.88 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.3151, allocations: 268.9 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3153, allocations: 78.47 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3155, allocations: 48.88 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3155, allocations: 0 / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3155, allocations: 30.56 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3155, allocations: 0 / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005363/0.3161, allocations: 149.5 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3161, allocations: 55.53 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3162, allocations: 105.8 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3163, allocations: 25.7 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3163, allocations: 80.14 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3163, allocations: 11.91 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3164, allocations: 9.719 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3165, allocations: 314.8 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3166, allocations: 39.97 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3168, allocations: 53.69 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3171, allocations: 80.89 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3171, allocations: 3.938 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003141/0.3174, allocations: 105.6 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.3175, allocations: 97 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3175, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3175, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3176, allocations: 23.91 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3177, allocations: 4.031 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.3178, allocations: 19.98 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3178, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.3178, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001852/0.318, allocations: 55.83 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-06/0.318, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.318, allocations: 4.25 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.3181, allocations: 8 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.3181, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.3181, allocations: 15.92 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-06/0.3181, allocations: 7.969 kB / 1.063 GB, free: 0.9375 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 9.846e-05/0.3183, allocations: 189.1 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3183, allocations: 7.922 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3183, allocations: 3.531 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3183, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3183, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3183, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3185, allocations: 165.6 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3185, allocations: 0 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.3186, allocations: 23.92 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3186, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3186, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3186, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3186, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.319, allocations: 203.4 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.319, allocations: 81.05 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3191, allocations: 8.031 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.3192, allocations: 11.98 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3192, allocations: 4 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3192, allocations: 7.969 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.3193, allocations: 83.28 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3193, allocations: 0 / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002727/0.3196, allocations: 8 kB / 1.064 GB, free: 56 kB / 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.0001459/0.3197, allocations: 99.25 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.3202, allocations: 111.8 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3202, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3203, allocations: 40.09 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3206, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.321, allocations: 166.2 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3213, allocations: 0.6888 MB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3214, allocations: 7.438 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3214, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.002013/0.3234, allocations: 0.6168 MB / 1.065 GB, free: 14.26 MB / 0.8262 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