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.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.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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001534/0.001533, allocations: 192 kB / 16.13 MB, free: 6.652 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.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.292/2.292, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5458, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002279/0.5481, allocations: 1.125 MB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.5493, allocations: 0.9948 MB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.5495, allocations: 7.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.5497, allocations: 11.86 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.5498, allocations: 15.94 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.55, allocations: 59.88 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.5502, allocations: 168 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.5504, allocations: 76.02 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.5505, allocations: 59.78 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.5506, allocations: 75.59 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.5506, allocations: 16 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.5507, allocations: 12 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.5507, allocations: 31.86 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.5508, allocations: 75.52 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.551, allocations: 165.6 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.551, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.31e-07/0.551, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.551, allocations: 0 / 1.02 GB, free: 15.94 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.0007676/0.5518, allocations: 486.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5518, allocations: 12.03 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.5519, allocations: 46.73 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.5519, allocations: 20.66 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.5522, allocations: 229.5 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5522, allocations: 12.31 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.5522, allocations: 16.38 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.5525, allocations: 154.4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5526, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.5526, allocations: 8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5526, allocations: 4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.5529, allocations: 115.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5539, allocations: 0.539 MB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.5543, allocations: 149.2 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5545, allocations: 80.81 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.5545, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.5547, allocations: 123.3 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.5548, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005005/0.5553, allocations: 223.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5553, allocations: 51.41 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5554, allocations: 163.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.5555, allocations: 29.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.5555, allocations: 124.4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.5556, allocations: 59.11 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.5557, allocations: 41.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5558, allocations: 330.8 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.556, allocations: 71.77 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5562, allocations: 95.28 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.5565, allocations: 144.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5565, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004622/0.557, allocations: 209.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.557, allocations: 8.031 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.557, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.557, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5572, allocations: 47.91 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5572, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.5574, allocations: 19.89 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.5574, allocations: 11.98 kB / 1.023 GB, free: 12.13 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 9.783e-05/0.5575, allocations: 134.9 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5575, allocations: 15.81 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.5579, allocations: 192.4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.558, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.558, allocations: 3.938 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.558, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.5587, allocations: 0.5811 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.5587, allocations: 7.984 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.5589, allocations: 40.11 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5589, allocations: 3.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5589, allocations: 8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5589, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.559, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.5595, allocations: 384.2 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.5596, allocations: 96.86 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.5596, allocations: 4 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5598, allocations: 28.02 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.5598, allocations: 11.98 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.5598, allocations: 15.98 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.5599, allocations: 122.5 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5599, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002613/0.5602, allocations: 31.94 kB / 1.025 GB, free: 10.32 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.0007973/0.561, allocations: 0.9312 MB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.5614, allocations: 159.8 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5614, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5616, allocations: 87.78 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.5619, allocations: 33.98 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.5643, allocations: 2.157 MB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5645, allocations: 0.7246 MB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.5646, allocations: 21.59 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.5647, allocations: 51.42 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5647, allocations: 0 / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.5771, allocations: 3.262 MB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.5773, allocations: 206.2 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.248, allocations: 0 / 1.032 GB, free: 2.562 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