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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_10_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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 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.001254/0.001254, allocations: 193 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 75.88 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4976, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001814/0.4994, allocations: 0.667 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008084/0.5002, allocations: 0.8351 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.5003, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.5003, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.5004, allocations: 7.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.5005, allocations: 19.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.5006, allocations: 35.92 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.5007, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.5007, allocations: 19.91 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.5008, allocations: 15.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.5008, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.5008, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5008, allocations: 11.98 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.5009, allocations: 11.94 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.5009, allocations: 35.88 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5009, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5009, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.501, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 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.0004359/0.5014, allocations: 361.7 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.5014, allocations: 8.031 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.5015, allocations: 30.75 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.5015, allocations: 12.84 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.69e-05/0.5016, allocations: 172.3 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.5016, allocations: 8.312 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.5016, allocations: 4.375 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.5018, allocations: 66.16 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5019, allocations: 3.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.5019, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5019, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.5021, allocations: 63.92 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.5025, allocations: 261 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.5026, allocations: 66.41 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5028, allocations: 32.89 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.5028, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.5028, allocations: 30.56 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.5028, allocations: 7.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004289/0.5033, allocations: 113.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.5033, allocations: 63.33 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.5034, allocations: 101.9 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.5034, allocations: 25.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.5034, allocations: 84.12 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.5034, allocations: 7.906 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.5035, allocations: 17.84 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.5036, allocations: 314.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.5037, allocations: 32.83 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.5038, allocations: 45.67 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.5041, allocations: 56.81 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5041, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002701/0.5043, allocations: 97.66 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5044, allocations: 5.719 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5044, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5044, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.5045, allocations: 15.98 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5045, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.5046, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5046, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001064/0.5047, allocations: 96.16 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.734e-05/0.5048, allocations: 29.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001379/0.5049, allocations: 44.81 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.5049, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001831/0.5051, allocations: 77.55 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.5051, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.5052, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.5052, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.5052, allocations: 11.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-06/0.5052, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.5053, allocations: 11.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.5053, allocations: 3.938 kB / 1.021 GB, free: 14.18 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 6.72e-05/0.5054, allocations: 184.2 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.5054, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.5054, allocations: 15.52 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5054, allocations: 3.938 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5054, allocations: 256 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5054, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5056, allocations: 169.6 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5056, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.5057, allocations: 11.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5057, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.5057, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5057, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5057, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.506, allocations: 187.4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.506, allocations: 85.02 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5061, allocations: 8.016 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.5061, allocations: 7.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.5062, allocations: 8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5062, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.5062, allocations: 83.27 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5062, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002586/0.5065, allocations: 8 kB / 1.022 GB, free: 13.33 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.0005553/0.5071, allocations: 0.7264 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.5074, allocations: 75.95 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5074, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.5076, allocations: 31.97 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5078, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.5083, allocations: 171.3 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.5085, allocations: 0.6729 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.5085, allocations: 11.89 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.5086, allocations: 7.438 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5086, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.5238, allocations: 1.461 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.247, allocations: 7.953 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.csv","/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