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: "" <> 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.001247/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001347/0.001347, allocations: 196 kB / 16.14 MB, free: 6.711 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.293/2.293, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6127, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001727/0.6144, allocations: 0.7357 MB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000759/0.6152, allocations: 0.8273 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.6152, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.6153, allocations: 4 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.6153, allocations: 7.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.6155, allocations: 15.98 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.6155, allocations: 35.86 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.6156, allocations: 11.98 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.6157, allocations: 7.938 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.022e-05/0.6157, allocations: 15.92 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.6158, allocations: 0 / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.6158, allocations: 4 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.6158, allocations: 11.98 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.6158, allocations: 15.92 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.721e-05/0.6159, allocations: 27.88 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6159, allocations: 0 / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6159, allocations: 0 / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.6159, allocations: 0 / 1.018 GB, free: 1.016 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.0004409/0.6164, allocations: 357.6 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6164, allocations: 12.03 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.6164, allocations: 34.75 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.6165, allocations: 4.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.6166, allocations: 172.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.6166, allocations: 4.312 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.6166, allocations: 384 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.6168, allocations: 62.22 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6168, allocations: 3.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.6168, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6168, allocations: 4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.617, allocations: 59.88 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.6174, allocations: 264.9 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.6176, allocations: 66.41 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.6177, allocations: 32.89 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.6177, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6178, allocations: 30.56 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.6178, allocations: 3.984 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004073/0.6182, allocations: 117.6 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.6182, allocations: 55.34 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.6183, allocations: 109.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.6183, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.6183, allocations: 88.27 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.6184, allocations: 3.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.6184, allocations: 17.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.6185, allocations: 314.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6186, allocations: 32.83 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.6187, allocations: 41.69 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.619, allocations: 60.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.619, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000243/0.6192, allocations: 93.67 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6192, allocations: 8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6192, allocations: 3.938 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6193, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.6194, allocations: 15.97 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6194, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.6194, allocations: 11.98 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.6195, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001015/0.6196, allocations: 104.2 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.063e-05/0.6196, allocations: 25.69 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001221/0.6198, allocations: 40.83 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.6198, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001699/0.6199, allocations: 81.53 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.62, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.62, allocations: 3.984 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.62, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.62, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.62, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.6201, allocations: 8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.6201, allocations: 4.016 kB / 1.021 GB, free: 14.39 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.726e-05/0.6202, allocations: 184.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.6202, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.6202, allocations: 7.531 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6202, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6203, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6203, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.6204, allocations: 169.6 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6204, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.6205, allocations: 15.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.6205, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6205, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6205, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6205, allocations: 256 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.6208, allocations: 191.4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.6208, allocations: 81.02 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6208, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.6209, allocations: 11.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.621, allocations: 7.984 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.621, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.621, allocations: 79.28 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.621, allocations: 0 / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002458/0.6213, allocations: 8 kB / 1.021 GB, free: 13.55 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.0005212/0.6218, allocations: 0.7279 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.6221, allocations: 79.94 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6221, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.6222, allocations: 31.97 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6225, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.6229, allocations: 180.8 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.6231, allocations: 0.677 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.6232, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.6232, allocations: 7.438 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6232, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01/0.6332, allocations: 1.277 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.6335, allocations: 201 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.188, allocations: 0 / 1.025 GB, free: 10.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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