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.001108/0.001108, 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.001056/0.001056, allocations: 192.6 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.429/2.429, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5323, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002367/0.5347, allocations: 1.068 MB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.5359, allocations: 0.9947 MB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.536, allocations: 4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.5362, allocations: 15.75 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.5362, allocations: 31.73 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.5365, allocations: 71.84 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.5367, allocations: 168.1 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.5368, allocations: 80.03 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.537, allocations: 71.83 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.5371, allocations: 87.61 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.5371, allocations: 16 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.5371, allocations: 16 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.5372, allocations: 35.91 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.5372, allocations: 79.52 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.5374, allocations: 173.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5374, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5374, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5374, allocations: 0 / 1.02 GB, free: 15.54 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.0007227/0.5382, allocations: 478.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5382, allocations: 8.031 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.5383, allocations: 54.73 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.5383, allocations: 16.75 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5386, allocations: 221.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5386, allocations: 20.31 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.5386, allocations: 16.38 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.5389, allocations: 154.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5389, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.539, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.539, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.5393, allocations: 111.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5403, allocations: 0.539 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.5407, allocations: 146.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.5408, allocations: 80.81 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.5409, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.5411, allocations: 121.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.5411, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005188/0.5417, allocations: 221.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5417, allocations: 55.41 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.5418, allocations: 164.6 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.5419, allocations: 33.7 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.5419, allocations: 124.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.542, allocations: 59.11 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.542, allocations: 37.7 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.5421, allocations: 326.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.5424, allocations: 71.81 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.5426, allocations: 89.67 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.5429, allocations: 157 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5429, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004696/0.5434, allocations: 217.4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5434, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5434, allocations: 3.938 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5434, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.5437, allocations: 35.97 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5437, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.5438, allocations: 23.83 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.5438, allocations: 8 kB / 1.024 GB, free: 11.74 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.556e-05/0.5439, allocations: 133.7 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.544, allocations: 19.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.5444, allocations: 188.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5444, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5444, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5444, allocations: 3.984 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.5452, allocations: 0.5811 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5452, allocations: 16.06 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5454, allocations: 35.97 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.5454, allocations: 7.938 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5454, allocations: 4 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5454, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5454, allocations: 7.938 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.546, allocations: 386.1 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.5461, allocations: 92.86 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5461, allocations: 8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5463, allocations: 16.03 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.5463, allocations: 27.91 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.5463, allocations: 8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.491e-05/0.5464, allocations: 122.8 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5464, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002719/0.5467, allocations: 31.94 kB / 1.025 GB, free: 9.926 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.0008076/0.5475, allocations: 0.9163 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.5479, allocations: 176.1 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.548, allocations: 0 / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.5482, allocations: 93.53 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.5485, allocations: 31.86 kB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.551, allocations: 2.114 MB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5512, allocations: 0.7204 MB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.5513, allocations: 25.59 kB / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.5514, allocations: 51.42 kB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5514, allocations: 0 / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5701, allocations: 3.556 MB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.699, allocations: 8.078 kB / 1.033 GB, free: 2.141 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