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.001375/0.001375, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001466/0.001466, allocations: 220.9 kB / 22.25 MB, free: 5.105 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.84 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.204/3.204, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.001989/0.001989, allocations: 69.56 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4091, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.004169/0.4133, allocations: 0.9937 MB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.415, allocations: 1.034 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4152, allocations: 7.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.4154, allocations: 19.73 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.4154, allocations: 15.81 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.4159, allocations: 77.22 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.4161, allocations: 176 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.4163, allocations: 66.55 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4164, allocations: 75.7 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.4166, allocations: 83.61 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4166, allocations: 16 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.4167, allocations: 27.98 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.4167, allocations: 35.8 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.4168, allocations: 59.72 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.4171, allocations: 191.1 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4171, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4171, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4171, allocations: 0 / 1.329 GB, free: 14.59 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.0008794/0.418, allocations: 434.3 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.418, allocations: 8.031 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.4181, allocations: 50.73 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4182, allocations: 20.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.4186, allocations: 170.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4186, allocations: 8.375 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.4186, allocations: 16.38 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.419, allocations: 195.1 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.419, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.419, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.419, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.4193, allocations: 103.9 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.4204, allocations: 479.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.4207, allocations: 134.6 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.4209, allocations: 84.73 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4209, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.4212, allocations: 149 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.366e-06/0.4212, allocations: 4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005379/0.4217, allocations: 219.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4218, allocations: 51.41 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4219, allocations: 164.6 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.422, allocations: 33.7 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.4221, allocations: 116.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.4221, allocations: 67.44 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.4222, allocations: 41.7 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4224, allocations: 322.8 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.4226, allocations: 67.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.4228, allocations: 86.69 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.4231, allocations: 151.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4232, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004799/0.4236, allocations: 215.3 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4236, allocations: 7.938 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4237, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4237, allocations: 4 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4239, allocations: 39.91 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4239, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.424, allocations: 27.88 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.424, allocations: 12.03 kB / 1.332 GB, free: 10.95 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.000119/0.4241, allocations: 130.3 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4242, allocations: 15.91 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.4246, allocations: 192.2 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4246, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4246, allocations: 7.938 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4246, allocations: 3.984 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.4255, allocations: 0.5335 MB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4255, allocations: 4 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4256, allocations: 35.91 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4256, allocations: 7.938 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4257, allocations: 8 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4257, allocations: 8.188 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4257, allocations: 3.984 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.4263, allocations: 385.9 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4263, allocations: 23.78 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.4264, allocations: 4 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4265, allocations: 20.12 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.4266, allocations: 27.94 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4266, allocations: 12 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.425e-05/0.4267, allocations: 125.2 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002776/0.427, allocations: 32 kB / 1.334 GB, free: 9.277 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.0009381/0.4279, allocations: 0.9163 MB / 1.334 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4283, allocations: 156.2 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4284, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.4287, allocations: 87.83 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.429, allocations: 28.36 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.4321, allocations: 2.126 MB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.4323, allocations: 120.1 kB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.4324, allocations: 13.42 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4325, allocations: 59.42 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.4325, allocations: 0 / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.4634, allocations: 4.307 MB / 1.341 GB, free: 1.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 10.78 kB / 1.341 GB, free: 1.43 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.828836975008016]