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.008777/0.008777, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001772/0.001772, allocations: 195.1 kB / 16.67 MB, free: 5.934 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.972/1.972, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.191/4.191, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003033/0.003033, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.108, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003276/1.111, allocations: 1.073 MB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001997/1.113, allocations: 0.9947 MB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/1.113, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/1.113, allocations: 23.73 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/1.113, allocations: 19.8 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/1.114, allocations: 75.84 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00031/1.114, allocations: 180 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/1.114, allocations: 68.06 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/1.115, allocations: 79.7 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/1.115, allocations: 79.61 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/1.115, allocations: 16 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/1.115, allocations: 20 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/1.115, allocations: 31.91 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/1.115, allocations: 83.52 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/1.115, allocations: 186.8 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.115, allocations: 0 / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/1.115, allocations: 0 / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.115, allocations: 0 / 1.169 GB, free: 0.8555 MB / 0.8887 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.001183/1.117, allocations: 490.6 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.117, allocations: 16.56 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.378e-05/1.117, allocations: 46.73 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/1.117, allocations: 16.84 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/1.117, allocations: 230.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.117, allocations: 12.38 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/1.117, allocations: 20.38 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/1.118, allocations: 158.8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.118, allocations: 4 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/1.118, allocations: 4 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.118, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/1.119, allocations: 103.9 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/1.12, allocations: 0.5391 MB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/1.121, allocations: 153.5 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/1.121, allocations: 80.81 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/1.121, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/1.121, allocations: 117.6 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/1.121, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0008336/1.122, allocations: 225.4 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.122, allocations: 55.41 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.123, allocations: 161.1 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/1.123, allocations: 29.7 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.123, allocations: 120.5 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/1.123, allocations: 71.42 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/1.123, allocations: 41.7 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.123, allocations: 326.8 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/1.124, allocations: 71.81 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/1.124, allocations: 88.11 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/1.124, allocations: 146.9 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.124, allocations: 3.938 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007653/1.125, allocations: 210.2 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.125, allocations: 7.938 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.125, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.125, allocations: 7.938 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/1.126, allocations: 43.94 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.126, allocations: 4 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.126, allocations: 23.88 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.126, allocations: 8 kB / 1.173 GB, free: 13.04 MB / 0.9044 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.0001935/1.126, allocations: 141.7 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.126, allocations: 15.91 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/1.127, allocations: 193 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.127, allocations: 4 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.127, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.127, allocations: 3.984 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/1.128, allocations: 0.5773 MB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.128, allocations: 4 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/1.128, allocations: 35.91 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.129, allocations: 7.938 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.129, allocations: 8 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/1.129, allocations: 4 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.129, allocations: 4.188 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/1.129, allocations: 382 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/1.13, allocations: 100.9 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/1.13, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/1.13, allocations: 16.03 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.13, allocations: 23.97 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/1.13, allocations: 7.938 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001603/1.13, allocations: 125.7 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.13, allocations: 0 / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004781/1.131, allocations: 35.95 kB / 1.174 GB, free: 11.22 MB / 0.9044 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.001439/1.132, allocations: 0.9309 MB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000673/1.133, allocations: 163.8 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.133, allocations: 0 / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/1.133, allocations: 83.91 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/1.134, allocations: 27.86 kB / 1.175 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/1.138, allocations: 2.122 MB / 1.177 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/1.139, allocations: 0.7243 MB / 1.178 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.139, allocations: 21.36 kB / 1.178 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.139, allocations: 63.34 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.139, allocations: 0 / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/1.179, allocations: 3.606 MB / 1.182 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14, allocations: 12.36 kB / 1.182 GB, free: 3.406 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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