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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 75.88 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002397/1.051, allocations: 1.087 MB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001483/1.052, allocations: 1.043 MB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/1.052, allocations: 7.281 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/1.053, allocations: 17.09 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/1.053, allocations: 23.11 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/1.053, allocations: 75.78 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/1.053, allocations: 177.3 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/1.053, allocations: 66.52 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/1.053, allocations: 66.58 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/1.054, allocations: 82.89 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/1.054, allocations: 15.91 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/1.054, allocations: 19.84 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/1.054, allocations: 45.05 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/1.054, allocations: 74.27 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/1.054, allocations: 192 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.054, allocations: 0.6875 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.054, allocations: 0 / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.054, allocations: 5.219 kB / 1.282 GB, free: 9.812 MB / 0.9981 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.0009868/1.055, allocations: 482.6 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.055, allocations: 9.688 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/1.055, allocations: 7.562 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/1.055, allocations: 48 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.055, allocations: 23.73 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/1.056, allocations: 230.4 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/1.056, allocations: 10.81 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/1.056, allocations: 22.94 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/1.056, allocations: 149.2 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.056, allocations: 4 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/1.056, allocations: 5.812 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.056, allocations: 3.5 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/1.057, allocations: 105.3 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/1.058, allocations: 0.535 MB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/1.058, allocations: 141.9 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/1.058, allocations: 77.69 kB / 1.284 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/1.058, allocations: 7.688 kB / 1.284 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/1.059, allocations: 127.3 kB / 1.284 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/1.059, allocations: 3.938 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000612/1.059, allocations: 223.4 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.059, allocations: 59.39 kB / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.06, allocations: 154.8 kB / 1.284 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/1.06, allocations: 30.7 kB / 1.284 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.06, allocations: 116.3 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/1.06, allocations: 65.31 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/1.06, allocations: 38.55 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.06, allocations: 327.9 kB / 1.285 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/1.06, allocations: 70.58 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/1.06, allocations: 95.88 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.061, allocations: 144.4 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.061, allocations: 0 / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000545/1.061, allocations: 216.4 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.061, allocations: 5.5 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.061, allocations: 0.8906 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.061, allocations: 2.188 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/1.062, allocations: 39.92 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.062, allocations: 5.188 kB / 1.285 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.062, allocations: 23.52 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.062, allocations: 13.5 kB / 1.285 GB, free: 7.328 MB / 0.9981 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.0001268/1.062, allocations: 128 kB / 1.286 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/1.062, allocations: 16.05 kB / 1.286 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/1.062, allocations: 196 kB / 1.286 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.062, allocations: 1.312 kB / 1.286 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.062, allocations: 5.312 kB / 1.286 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.062, allocations: 5.125 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/1.063, allocations: 0.5861 MB / 1.286 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.063, allocations: 2.156 kB / 1.286 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.064, allocations: 40.09 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.064, allocations: 2.938 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.064, allocations: 3.766 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.064, allocations: 6.672 kB / 1.286 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.064, allocations: 3.641 kB / 1.286 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/1.064, allocations: 389 kB / 1.287 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/1.064, allocations: 100.4 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/1.064, allocations: 12.61 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/1.065, allocations: 16.89 kB / 1.287 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/1.065, allocations: 16.38 kB / 1.287 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/1.065, allocations: 10.61 kB / 1.287 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.687e-05/1.065, allocations: 118.2 kB / 1.287 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.065, allocations: 1.469 kB / 1.287 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002867/1.065, allocations: 28.97 kB / 1.287 GB, free: 6.137 MB / 0.9981 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.001067/1.066, allocations: 0.9314 MB / 1.288 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005121/1.067, allocations: 156.1 kB / 1.288 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.067, allocations: 1.156 kB / 1.288 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/1.067, allocations: 82.83 kB / 1.288 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/1.067, allocations: 27.45 kB / 1.288 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/1.07, allocations: 2.137 MB / 1.29 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/1.071, allocations: 0.7282 MB / 1.291 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.323e-05/1.071, allocations: 16.72 kB / 1.291 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/1.071, allocations: 50.44 kB / 1.291 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.071, allocations: 0 / 1.291 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/1.094, allocations: 3.693 MB / 1.295 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/9.585, allocations: 9.453 kB / 1.295 GB, free: 2.301 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13713711599121]