Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.Derivative,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",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.001082/0.001082, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001102/0.001102, allocations: 189 kB / 16.25 MB, free: 6.152 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.213/1.213, allocations: 222.9 MB / 239.9 MB, free: 4.414 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.302/2.302, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 71.84 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.506, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002056/0.5081, allocations: 1.129 MB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.5091, allocations: 0.9987 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.5092, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.5094, allocations: 11.86 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.5094, allocations: 15.88 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.5097, allocations: 59.69 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.5098, allocations: 176 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.51, allocations: 84.02 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.5101, allocations: 71.7 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.5102, allocations: 83.61 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.5102, allocations: 16 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.5102, allocations: 16 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.5103, allocations: 39.91 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.5104, allocations: 75.66 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.5105, allocations: 177.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5105, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5105, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5105, allocations: 0 / 1.02 GB, free: 15.76 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006995/0.5113, allocations: 482.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5113, allocations: 8.031 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.5113, allocations: 54.67 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.5114, allocations: 20.75 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5116, allocations: 221.6 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.5116, allocations: 16.38 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5117, allocations: 12.38 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.512, allocations: 158.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.512, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.512, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.512, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.5123, allocations: 111.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.5133, allocations: 0.539 MB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.5136, allocations: 138.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5138, allocations: 84.81 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5138, allocations: 3.984 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.514, allocations: 128.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.5141, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0004832/0.5145, allocations: 222.7 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5146, allocations: 59.41 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5147, allocations: 155.7 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.5147, allocations: 37.7 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.5148, allocations: 120.4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.5148, allocations: 59.11 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.5149, allocations: 41.7 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.515, allocations: 326.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.5152, allocations: 71.75 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.5154, allocations: 91.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.5157, allocations: 152.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5157, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004384/0.5162, allocations: 213.3 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5162, allocations: 8.031 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5162, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.5162, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.5164, allocations: 43.97 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5164, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.5166, allocations: 19.89 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5166, allocations: 8 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001/0.5167, allocations: 138.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5167, allocations: 15.8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.5171, allocations: 192.5 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5171, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5171, allocations: 3.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5171, allocations: 3.984 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.5179, allocations: 0.5811 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5179, allocations: 3.938 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5181, allocations: 44.16 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5181, allocations: 7.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5181, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5181, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5181, allocations: 7.938 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.5186, allocations: 386.7 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.5187, allocations: 96.86 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.5187, allocations: 8 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5189, allocations: 16.03 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.5189, allocations: 23.91 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.519, allocations: 12 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.519, allocations: 118.5 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5191, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002552/0.5193, allocations: 31.94 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0007671/0.5201, allocations: 0.9256 MB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.5205, allocations: 171.8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5205, allocations: 0 / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.5207, allocations: 84.22 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.521, allocations: 38.52 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5233, allocations: 2.169 MB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.5236, allocations: 0.7204 MB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.041e-05/0.5237, allocations: 21.42 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.5237, allocations: 55.36 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5238, allocations: 4 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.5466, allocations: 3.366 MB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.5467, allocations: 204.6 kB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.218, allocations: 0 / 1.032 GB, free: 2.289 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-07 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches