Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001063/0.001064, allocations: 98.88 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.001442/0.001443, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6441, allocations: 153.8 MB / 1.024 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001122/0.6453, allocations: 418.3 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.6463, allocations: 0.8195 MB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.6463, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.6464, allocations: 7.984 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.6464, allocations: 3.938 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.6466, allocations: 12 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.44e-05/0.6467, allocations: 35.91 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.6468, allocations: 7.984 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.6469, allocations: 15.94 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.6469, allocations: 15.92 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.647, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.647, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.647, allocations: 3.984 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.647, allocations: 37.64 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.729e-05/0.6471, allocations: 19.94 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6471, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6471, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.6471, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 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.0005403/0.6477, allocations: 369.4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6477, allocations: 8.031 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.6478, allocations: 12.78 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.6479, allocations: 168.3 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6479, allocations: 384 / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.648, allocations: 12.38 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.6482, allocations: 66.22 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6482, allocations: 4.125 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.6482, allocations: 3.938 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6482, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.6485, allocations: 71.94 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.6489, allocations: 280.8 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.6492, allocations: 78.47 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.6493, allocations: 44.88 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.6493, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.6494, allocations: 38.56 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.6494, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005177/0.6499, allocations: 145.5 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.65, allocations: 51.41 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.65, allocations: 105.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6501, allocations: 25.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.6501, allocations: 88.27 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.6501, allocations: 3.906 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.6502, allocations: 9.719 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6503, allocations: 322.8 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6504, allocations: 35.97 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.6506, allocations: 49.69 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.6508, allocations: 76.89 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6509, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002958/0.6512, allocations: 113.5 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.6512, allocations: 97.02 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6513, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6513, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6514, allocations: 15.98 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6514, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.6515, allocations: 23.98 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.6515, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6515, allocations: 6.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001812/0.6517, allocations: 51.89 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.6517, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-06/0.6518, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.6518, allocations: 15.97 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.6518, allocations: 3.984 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.6519, allocations: 8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-06/0.6519, allocations: 4 kB / 1.027 GB, free: 11.99 MB / 0.7794 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 0.0001023/0.652, allocations: 185.1 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.6521, allocations: 15.88 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.6521, allocations: 7.531 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6521, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6521, allocations: 4.188 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6521, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.6523, allocations: 165.7 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6523, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.6524, allocations: 19.92 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6524, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.6524, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6524, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6525, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6528, allocations: 207.3 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.6529, allocations: 85.05 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.6529, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.653, allocations: 15.98 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.653, allocations: 8.016 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.653, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.6531, allocations: 83.28 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6531, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00026/0.6533, allocations: 8 kB / 1.028 GB, free: 11.1 MB / 0.7794 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.0001386/0.6535, allocations: 103.2 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.6539, allocations: 104 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6539, allocations: 4.062 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6541, allocations: 43.91 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.6543, allocations: 5.828 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.6548, allocations: 174.4 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.655, allocations: 0.677 MB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.6551, allocations: 15.42 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6551, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of Templates: time 0.002045/0.6571, allocations: 0.6024 MB / 1.03 GB, free: 9.312 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches