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: "" <> 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.008074/0.00808, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001866/0.001866, allocations: 195 kB / 16.68 MB, free: 6.375 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002201/0.3439, allocations: 0.6767 MB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.345, allocations: 0.8234 MB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.3451, allocations: 0 / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3451, allocations: 7.938 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.3452, allocations: 11.92 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.3454, allocations: 16 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.3455, allocations: 31.91 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3456, allocations: 8 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.3457, allocations: 19.91 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.3458, allocations: 15.92 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3458, allocations: 4 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.3458, allocations: 7.938 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.3459, allocations: 8 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.3459, allocations: 15.92 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.346, allocations: 31.88 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.346, allocations: 0 / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.764e-06/0.346, allocations: 0 / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.346, allocations: 0 / 1.209 GB, free: 8.41 MB / 0.9669 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.0005496/0.3466, allocations: 355.7 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3466, allocations: 8.625 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3467, allocations: 38.75 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3467, allocations: 4.922 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3468, allocations: 172.3 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3469, allocations: 384 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3469, allocations: 384 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3471, allocations: 62.22 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3471, allocations: 3.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3472, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3472, allocations: 3.938 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.3474, allocations: 59.94 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.3478, allocations: 264.9 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3481, allocations: 62.47 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3482, allocations: 36.83 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3482, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3482, allocations: 38.5 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3483, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004518/0.3487, allocations: 109.6 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3487, allocations: 51.41 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.3488, allocations: 105.8 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3489, allocations: 29.7 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3489, allocations: 91.98 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.3489, allocations: 4.125 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.349, allocations: 21.7 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3491, allocations: 310.8 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3492, allocations: 32.83 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3494, allocations: 45.62 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3496, allocations: 60.8 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3496, allocations: 3.938 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002516/0.3499, allocations: 93.64 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3499, allocations: 9.547 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3499, allocations: 4 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3499, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.35, allocations: 11.98 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.35, allocations: 0 / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.3501, allocations: 15.92 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3501, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000115/0.3502, allocations: 108.1 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.414e-05/0.3503, allocations: 25.64 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001237/0.3505, allocations: 36.83 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.3505, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001746/0.3506, allocations: 77.69 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.3507, allocations: 4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.3507, allocations: 256 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.3507, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.3507, allocations: 15.98 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.3507, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3508, allocations: 11.98 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3508, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 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.595e-05/0.3509, allocations: 192.1 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3509, allocations: 7.906 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.351, allocations: 7.531 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.351, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.351, allocations: 3.984 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.351, allocations: 0 / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3512, allocations: 165.6 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3512, allocations: 0 / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.3513, allocations: 15.97 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3513, allocations: 4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3513, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3513, allocations: 4 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3513, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3516, allocations: 179.4 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.3517, allocations: 89.06 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3517, allocations: 0 / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.3518, allocations: 11.98 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3518, allocations: 7.938 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3518, allocations: 0 / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.3519, allocations: 79.28 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3519, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002779/0.3522, allocations: 8 kB / 1.212 GB, free: 4.949 MB / 0.9669 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.0007603/0.353, allocations: 0.724 MB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.3534, allocations: 83.88 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3534, allocations: 0 / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3535, allocations: 31.97 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3539, allocations: 3.938 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.3545, allocations: 167.3 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3548, allocations: 0.6768 MB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.3548, allocations: 4 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.3549, allocations: 7.438 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3549, allocations: 0 / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3743, allocations: 1.498 MB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.859, allocations: 12.56 kB / 1.215 GB, free: 1.754 MB / 0.9669 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