Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00193/0.00193, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002204/0.002204, allocations: 214.6 kB / 22.24 MB, free: 5.234 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",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.002129/0.002129, allocations: 66.28 kB / 1.153 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3746, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00256/0.3772, allocations: 1.019 MB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3791, allocations: 1.026 MB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.3792, allocations: 0 / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.3794, allocations: 23.73 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.3795, allocations: 23.72 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3798, allocations: 71.81 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3801, allocations: 184.1 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.3803, allocations: 56.69 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3804, allocations: 75.62 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3806, allocations: 71.61 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.3806, allocations: 16 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.3807, allocations: 20 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3807, allocations: 43.83 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.3808, allocations: 59.66 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.3811, allocations: 191.2 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3811, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3811, allocations: 3.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3811, allocations: 4 kB / 1.328 GB, free: 15.42 MB / 1.029 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.0008882/0.382, allocations: 422.4 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3821, allocations: 12.03 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3821, allocations: 46.73 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3822, allocations: 28.78 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3826, allocations: 168.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3826, allocations: 12.38 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.3826, allocations: 24.31 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.383, allocations: 175.1 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.383, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.383, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.383, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.3833, allocations: 107.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3845, allocations: 471.4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.385, allocations: 142.5 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3851, allocations: 76.86 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3852, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.3855, allocations: 154.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005998/0.3861, allocations: 227.1 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3861, allocations: 55.41 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3863, allocations: 160.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3863, allocations: 29.7 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.3864, allocations: 124.5 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.3865, allocations: 67.42 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.3866, allocations: 37.7 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3867, allocations: 330.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3869, allocations: 63.97 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3872, allocations: 91.83 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.3875, allocations: 155.4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3875, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005117/0.388, allocations: 205.5 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3881, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3881, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3881, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3883, allocations: 43.91 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3883, allocations: 8.031 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3884, allocations: 31.86 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.3885, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 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.0001339/0.3886, allocations: 130.2 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3886, allocations: 19.91 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.3891, allocations: 186.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3891, allocations: 8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3891, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3891, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009165/0.39, allocations: 0.5374 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.39, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3902, allocations: 44.11 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3902, allocations: 3.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3902, allocations: 7.984 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3903, allocations: 4 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3903, allocations: 3.938 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.3909, allocations: 379.9 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.3909, allocations: 23.78 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.391, allocations: 12.03 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3911, allocations: 15.98 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.3912, allocations: 23.91 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3912, allocations: 8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3913, allocations: 124.9 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3913, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002899/0.3916, allocations: 31.95 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.0009966/0.3926, allocations: 0.9142 MB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.393, allocations: 155.8 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.393, allocations: 0 / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3933, allocations: 92.22 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3936, allocations: 41.88 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.3968, allocations: 2.122 MB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3969, allocations: 108.2 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.058e-05/0.397, allocations: 17.42 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3971, allocations: 59.41 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3971, allocations: 0 / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.4311, allocations: 4.254 MB / 1.34 GB, free: 2.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 12.12 kB / 1.34 GB, free: 2.312 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-07 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.035303213633597]