Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008428/0.0008428, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009254/0.0009254, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9011/0.9011, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.795/1.795, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.65e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001598/0.001625, allocations: 0.9954 MB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00266, allocations: 1.034 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.002758, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.002885, allocations: 19.73 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.002933, allocations: 27.8 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.00322, allocations: 79.66 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.003442, allocations: 180.1 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.003585, allocations: 52.53 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003697, allocations: 107.8 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.003774, allocations: 59.78 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.003799, allocations: 16 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.00385, allocations: 20 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.003881, allocations: 43.83 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.003922, allocations: 51.83 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.004126, allocations: 191.3 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.004129, allocations: 4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00413, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004135, allocations: 3.938 kB / 1.003 GB, free: 10.54 MB / 0.9636 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.0005811/0.004716, allocations: 426.3 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.004756, allocations: 12.75 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.004792, allocations: 46.73 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.004881, allocations: 24.8 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.005124, allocations: 166 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005139, allocations: 12.23 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.005165, allocations: 20.38 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.005395, allocations: 169.4 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005403, allocations: 192 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.005421, allocations: 15.92 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005427, allocations: 8 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.00559, allocations: 100.5 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.006299, allocations: 483.2 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.006609, allocations: 134.7 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.006715, allocations: 76.73 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.006742, allocations: 7.984 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.006947, allocations: 152.9 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 2.225e-06/0.006949, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0003904/0.00734, allocations: 227.7 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.007373, allocations: 51.41 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.007483, allocations: 158.3 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.007504, allocations: 29.7 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.007565, allocations: 116.5 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.007609, allocations: 75.38 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.007661, allocations: 45.64 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.00775, allocations: 326.8 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.007883, allocations: 63.95 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.008005, allocations: 86.28 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.008214, allocations: 152.4 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.008217, allocations: 3.938 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002943/0.008512, allocations: 217.4 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.008528, allocations: 8.031 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.008536, allocations: 0 / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.008552, allocations: 0 / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.008665, allocations: 43.97 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.008672, allocations: 0 / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.008745, allocations: 23.88 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.008756, allocations: 8 kB / 1.006 GB, free: 6.902 MB / 0.9636 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 8.764e-05/0.008844, allocations: 133.7 kB / 1.006 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.008863, allocations: 19.91 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.009146, allocations: 190.7 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009149, allocations: 3.938 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.009154, allocations: 0 / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.00916, allocations: 7.984 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.009712, allocations: 0.5394 MB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.009715, allocations: 4 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.009812, allocations: 31.97 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.009816, allocations: 4 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.009829, allocations: 8 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.009833, allocations: 3.938 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.009835, allocations: 7.938 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01021, allocations: 382.6 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01022, allocations: 15.91 kB / 1.007 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01024, allocations: 11.94 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.01032, allocations: 11.98 kB / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.01037, allocations: 27.89 kB / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01038, allocations: 8 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.01044, allocations: 124 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01044, allocations: 0 / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001876/0.01063, allocations: 43.94 kB / 1.007 GB, free: 5.227 MB / 0.9636 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.000562/0.01119, allocations: 0.9068 MB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.01147, allocations: 159.8 kB / 1.008 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01147, allocations: 0 / 1.008 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.01159, allocations: 87.83 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01187, allocations: 29.91 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.01375, allocations: 2.126 MB / 1.011 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.01382, allocations: 112.6 kB / 1.011 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.197e-05/0.01387, allocations: 17.48 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.01395, allocations: 56.47 kB / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/0.01395, allocations: 0 / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.03252, allocations: 4.399 MB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.944, allocations: 4.562 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.156734048388898]