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.001439/0.001439, allocations: 113 kB / 18.94 MB, free: 2.934 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.001557/0.001557, allocations: 211.8 kB / 22.25 MB, free: 5.086 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8.02 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.237/3.237, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002104/0.002104, allocations: 68.52 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4527, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003808/0.4565, allocations: 1.065 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.4593, allocations: 1.05 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.4596, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.4598, allocations: 15.75 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.4601, allocations: 23.72 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.4607, allocations: 83.8 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.4611, allocations: 184 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.4614, allocations: 56.69 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.4616, allocations: 71.77 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.4618, allocations: 79.61 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.4618, allocations: 16 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.4619, allocations: 20 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.462, allocations: 47.83 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4621, allocations: 71.59 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.4626, allocations: 187.1 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4626, allocations: 8 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4626, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.4626, allocations: 0 / 1.329 GB, free: 14.93 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.001078/0.4637, allocations: 426.3 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4637, allocations: 12.03 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.4638, allocations: 50.67 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.4639, allocations: 24.78 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.4643, allocations: 172.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4644, allocations: 12.38 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.4644, allocations: 16.38 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.4648, allocations: 153.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4648, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4648, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4648, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.4652, allocations: 111.9 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.4665, allocations: 0.4915 MB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.4669, allocations: 138.5 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4671, allocations: 80.86 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4672, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.4674, allocations: 123.3 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.4674, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.000621/0.468, allocations: 226.9 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.4681, allocations: 55.41 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4683, allocations: 156.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.4683, allocations: 33.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.4684, allocations: 124.4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.4685, allocations: 67.42 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.4686, allocations: 41.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4687, allocations: 330.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.4689, allocations: 59.97 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.4692, allocations: 91.89 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.4695, allocations: 153.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4695, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005266/0.4701, allocations: 207.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4701, allocations: 12.03 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4701, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4701, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4703, allocations: 43.97 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4703, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.4705, allocations: 27.86 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4705, allocations: 8 kB / 1.332 GB, free: 11.32 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.0001445/0.4706, allocations: 138.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.4707, allocations: 11.91 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.4711, allocations: 196 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4711, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4712, allocations: 3.938 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4712, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4722, allocations: 0.5569 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4722, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4724, allocations: 43.97 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.4724, allocations: 12.12 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4724, allocations: 3.938 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4724, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4724, allocations: 3.938 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.4731, allocations: 382.5 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.4731, allocations: 23.78 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.4731, allocations: 8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4733, allocations: 12.03 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.4734, allocations: 31.89 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4734, allocations: 8 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001199/0.4735, allocations: 125.4 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4735, allocations: 0 / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000295/0.4738, allocations: 28 kB / 1.334 GB, free: 9.633 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.001039/0.4749, allocations: 0.9243 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.4753, allocations: 149.3 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4753, allocations: 3.938 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.4755, allocations: 95.58 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4759, allocations: 32.36 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.4792, allocations: 2.12 MB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4796, allocations: 0.7281 MB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000102/0.4797, allocations: 17.42 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4798, allocations: 55.42 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.292e-06/0.4798, allocations: 0 / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.5154, allocations: 3.839 MB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.5, allocations: 6.125 kB / 1.341 GB, free: 1.621 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable der1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.51672650599903]