Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_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.008189/0.008189, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.002245/0.002245, allocations: 195.9 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 75.88 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002227/0.3304, allocations: 1.07 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3317, allocations: 0.9948 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.3318, allocations: 3.938 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.3319, allocations: 19.8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.332, allocations: 19.75 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3323, allocations: 75.78 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3325, allocations: 176 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3327, allocations: 84.03 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3328, allocations: 67.77 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3329, allocations: 83.59 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.3329, allocations: 20 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.333, allocations: 16 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.333, allocations: 35.91 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.3331, allocations: 75.53 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3334, allocations: 187.1 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3334, allocations: 3.984 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3334, allocations: 4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3334, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 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.0008238/0.3342, allocations: 478.6 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3343, allocations: 12.03 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.3343, allocations: 54.67 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3344, allocations: 16.84 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3347, allocations: 230.1 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3347, allocations: 12.38 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.3348, allocations: 16.38 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3351, allocations: 150.3 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3351, allocations: 7.984 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3351, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3352, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3355, allocations: 107.9 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3366, allocations: 0.5314 MB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.337, allocations: 146.6 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3372, allocations: 88.7 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3373, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.3375, allocations: 119.3 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 3.617e-06/0.3375, allocations: 0 / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005799/0.3381, allocations: 234.8 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3382, allocations: 55.41 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3383, allocations: 159.1 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3384, allocations: 29.7 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.3384, allocations: 124.5 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.3385, allocations: 67.42 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.3386, allocations: 37.7 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3388, allocations: 330.8 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.339, allocations: 67.95 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3392, allocations: 92.11 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.3396, allocations: 143.6 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3396, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005228/0.3402, allocations: 215.3 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3402, allocations: 12.02 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3402, allocations: 4 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3402, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3404, allocations: 35.98 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3404, allocations: 4 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3406, allocations: 27.81 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.3406, allocations: 8 kB / 1.227 GB, free: 7.496 MB / 0.9825 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.0001291/0.3407, allocations: 137.7 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.3408, allocations: 15.91 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.3412, allocations: 192.8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3413, allocations: 8 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3413, allocations: 0 / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3413, allocations: 0 / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.3422, allocations: 0.588 MB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3422, allocations: 4 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3424, allocations: 31.98 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3424, allocations: 12.12 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3424, allocations: 7.984 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.3424, allocations: 7.938 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3424, allocations: 0 / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.3431, allocations: 376.5 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.3431, allocations: 100.9 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3432, allocations: 8 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3433, allocations: 15.92 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.3434, allocations: 27.97 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3434, allocations: 11.94 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001009/0.3435, allocations: 123.6 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3436, allocations: 0 / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002777/0.3438, allocations: 31.95 kB / 1.228 GB, free: 5.684 MB / 0.9825 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.0009941/0.3448, allocations: 0.9266 MB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.3453, allocations: 163.8 kB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3453, allocations: 0 / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3455, allocations: 87.83 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3459, allocations: 28.38 kB / 1.229 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3488, allocations: 2.147 MB / 1.231 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3492, allocations: 0.7243 MB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3492, allocations: 17.42 kB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3494, allocations: 51.42 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3494, allocations: 0 / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.376, allocations: 3.608 MB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.447, allocations: 14.45 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches