Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009269/0.0009269, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.001079/0.001079, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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.9896/0.9896, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.966/1.966, allocations: 0.5046 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009607/0.0009607, allocations: 67.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7767, allocations: 180 MB / 1.353 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001823/0.7785, allocations: 0.9949 MB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.7795, allocations: 1.042 MB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.7797, allocations: 4 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.7798, allocations: 15.75 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.7798, allocations: 23.8 kB / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.7801, allocations: 79.78 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.7802, allocations: 176 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.7804, allocations: 60.25 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.7805, allocations: 71.77 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.7806, allocations: 67.62 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.7806, allocations: 16 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.7806, allocations: 27.98 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.7807, allocations: 31.91 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.7807, allocations: 63.66 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.7809, allocations: 193.5 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7809, allocations: 0 / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7809, allocations: 0 / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7809, allocations: 0 / 1.355 GB, free: 14.83 MB / 1.042 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.000649/0.7816, allocations: 430.4 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7816, allocations: 8.922 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.7817, allocations: 50.73 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.7818, allocations: 16.84 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.7822, allocations: 170.8 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.7822, allocations: 12.38 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.7822, allocations: 12.38 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.7824, allocations: 188.1 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7824, allocations: 0 / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.7825, allocations: 4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7825, allocations: 4 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.7826, allocations: 108.4 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.7833, allocations: 487.2 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.7836, allocations: 134.5 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.7837, allocations: 80.86 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.7837, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.7839, allocations: 146.8 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.7839, allocations: 4 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=19): time 0.0003367/0.7842, allocations: 233.4 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.7842, allocations: 59.34 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.7843, allocations: 160.4 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.7843, allocations: 33.7 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.7844, allocations: 108.5 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.7844, allocations: 67.48 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.7845, allocations: 41.7 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.7845, allocations: 330.8 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.7847, allocations: 59.95 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7848, allocations: 93.53 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.785, allocations: 147.8 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.785, allocations: 0 / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003348/0.7853, allocations: 218 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7853, allocations: 4 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.7853, allocations: 0 / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.7853, allocations: 4 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7855, allocations: 39.92 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7855, allocations: 3.984 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.7855, allocations: 27.88 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.7855, allocations: 12.03 kB / 1.359 GB, free: 11.18 MB / 1.042 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.245e-05/0.7856, allocations: 130.2 kB / 1.359 GB, free: 11.05 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.7856, allocations: 15.91 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.7859, allocations: 196.3 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7859, allocations: 4 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7859, allocations: 0 / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.7859, allocations: 3.938 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.7864, allocations: 0.5297 MB / 1.359 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7864, allocations: 4 kB / 1.359 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.7865, allocations: 35.91 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7865, allocations: 7.938 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.7865, allocations: 8 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.7865, allocations: 8.188 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7865, allocations: 3.938 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.7869, allocations: 379.4 kB / 1.36 GB, free: 9.762 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.7869, allocations: 27.81 kB / 1.36 GB, free: 9.734 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.7869, allocations: 4 kB / 1.36 GB, free: 9.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.787, allocations: 15.98 kB / 1.36 GB, free: 9.715 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.787, allocations: 31.89 kB / 1.36 GB, free: 9.684 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.7871, allocations: 8 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.7871, allocations: 121.4 kB / 1.36 GB, free: 9.559 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7871, allocations: 0 / 1.36 GB, free: 9.559 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001814/0.7873, allocations: 35.94 kB / 1.36 GB, free: 9.523 MB / 1.042 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.000531/0.7878, allocations: 0.9125 MB / 1.361 GB, free: 8.566 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.7881, allocations: 155.8 kB / 1.361 GB, free: 8.414 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7881, allocations: 0 / 1.361 GB, free: 8.414 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.7882, allocations: 80.97 kB / 1.361 GB, free: 8.336 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.7885, allocations: 34.8 kB / 1.361 GB, free: 8.305 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.7905, allocations: 2.131 MB / 1.363 GB, free: 6.051 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.926e-05/0.7906, allocations: 112.2 kB / 1.363 GB, free: 5.922 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.548e-05/0.7906, allocations: 17.41 kB / 1.363 GB, free: 5.906 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.7907, allocations: 59.42 kB / 1.364 GB, free: 5.848 MB / 1.042 GB Notification: Performance of SimCode: time 1.673e-06/0.7907, allocations: 0 / 1.364 GB, free: 5.848 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08998/0.8807, allocations: 4.25 MB / 1.368 GB, free: 1.742 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/8.157, allocations: 12.64 kB / 1.368 GB, free: 1.734 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.113095195963979]