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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009652, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005763/0.005763, allocations: 171 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 17.62 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2645, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0007113/0.2653, allocations: 416.4 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.2661, allocations: 0.8313 MB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.2661, allocations: 0 / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.2661, allocations: 3.938 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.2662, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.2663, allocations: 12 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.2664, allocations: 43.89 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.2665, allocations: 7.938 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.2665, allocations: 8 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.2666, allocations: 15.92 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2666, allocations: 3.938 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.2666, allocations: 3.938 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2666, allocations: 11.98 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2667, allocations: 29.64 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.318e-05/0.2667, allocations: 35.86 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2667, allocations: 4 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.449 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.0004063/0.2672, allocations: 359.8 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2672, allocations: 11.97 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.2672, allocations: 34.75 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.2673, allocations: 8.844 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.2673, allocations: 164.4 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2674, allocations: 4.375 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2674, allocations: 4.375 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2676, allocations: 74.22 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2676, allocations: 3.938 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2676, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2676, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2679, allocations: 75.88 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.2682, allocations: 269 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2684, allocations: 74.47 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2686, allocations: 52.83 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2686, allocations: 3.984 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2686, allocations: 38.55 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2686, allocations: 3.938 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004531/0.2691, allocations: 145.6 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2691, allocations: 51.41 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.2692, allocations: 105.8 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2692, allocations: 25.7 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.2692, allocations: 84.14 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.2693, allocations: 7.906 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.2693, allocations: 9.719 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.2694, allocations: 314.8 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2695, allocations: 43.98 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2696, allocations: 53.69 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.2699, allocations: 80.83 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2699, allocations: 3.938 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002755/0.2702, allocations: 105.6 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.2702, allocations: 97 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2703, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.2703, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2704, allocations: 23.91 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2704, allocations: 4.031 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2705, allocations: 19.92 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2705, allocations: 4 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.2705, allocations: 9.969 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001591/0.2707, allocations: 47.91 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.2707, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-06/0.2707, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.2707, allocations: 11.98 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-06/0.2707, allocations: 4 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.2708, allocations: 16.02 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-06/0.2708, allocations: 0 / 1.063 GB, free: 0.8008 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.481e-05/0.2709, allocations: 185.1 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2709, allocations: 11.84 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.2709, allocations: 7.516 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2709, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.271, allocations: 3.938 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.271, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2711, allocations: 161.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2711, allocations: 3.938 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.2712, allocations: 23.98 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2712, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2712, allocations: 4 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2712, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2712, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.2715, allocations: 203.7 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.2716, allocations: 81.05 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2716, allocations: 12.03 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.2717, allocations: 11.98 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.2717, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2717, allocations: 4 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.2718, allocations: 87.27 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2718, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002543/0.272, allocations: 8 kB / 1.063 GB, free: 15.91 MB / 0.8262 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.0005474/0.2726, allocations: 0.7435 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.273, allocations: 95.95 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.273, allocations: 4 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2731, allocations: 40.09 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2734, allocations: 19.86 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.2738, allocations: 162.4 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.274, allocations: 0.677 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.274, allocations: 4 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.274, allocations: 19.36 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.274, allocations: 0 / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008738/0.2828, allocations: 1.22 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.283, allocations: 213.2 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.765, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > 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