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.0008538/0.0008538, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008704/0.0008704, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9057/0.9057, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.904/1.904, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 3.035e-06/3.035e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.059e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002647/0.002677, allocations: 1.014 MB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.004667, allocations: 1.026 MB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.004842, allocations: 0 / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.005019, allocations: 31.67 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.005112, allocations: 15.8 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.005549, allocations: 90.89 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.0058, allocations: 168.1 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.005987, allocations: 60.45 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.006179, allocations: 107.7 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.006297, allocations: 63.77 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.006335, allocations: 16 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.006404, allocations: 20 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.006448, allocations: 39.83 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.006507, allocations: 47.91 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.00682, allocations: 203.3 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.006825, allocations: 4 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.214e-06/0.006827, allocations: 0 / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.006833, allocations: 0 / 1.004 GB, free: 10.55 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.0008543/0.007687, allocations: 422.3 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.007736, allocations: 9.344 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.007795, allocations: 54.73 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.007915, allocations: 20.8 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.008281, allocations: 166 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.008305, allocations: 16.23 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.008337, allocations: 16.38 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.008643, allocations: 173.4 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.008653, allocations: 192 / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.008673, allocations: 7.938 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00868, allocations: 4 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.008902, allocations: 115.8 kB / 1.005 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.009838, allocations: 475.2 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.01019, allocations: 134.7 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.01034, allocations: 84.7 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.01036, allocations: 4 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.01059, allocations: 156.9 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.01059, allocations: 0 / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0004347/0.01103, allocations: 223.3 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.01106, allocations: 51.41 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.01117, allocations: 164.9 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01119, allocations: 33.7 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.01124, allocations: 116.5 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.01128, allocations: 67.42 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.01133, allocations: 41.7 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.01155, allocations: 330.8 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01166, allocations: 59.97 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01178, allocations: 93.59 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.01198, allocations: 147.9 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01198, allocations: 0 / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002866/0.01226, allocations: 210.7 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01228, allocations: 4 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01228, allocations: 0 / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.0123, allocations: 8 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.0124, allocations: 44 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.01241, allocations: 0 / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.01248, allocations: 27.88 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01249, allocations: 11.92 kB / 1.007 GB, free: 6.91 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 9.267e-05/0.01258, allocations: 129.8 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.0126, allocations: 15.91 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.01286, allocations: 197.2 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01286, allocations: 0 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01287, allocations: 4 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01287, allocations: 0 / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.01338, allocations: 0.5336 MB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01339, allocations: 8.031 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.01348, allocations: 31.98 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01348, allocations: 4 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01349, allocations: 7.938 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.0135, allocations: 19.8 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0135, allocations: 0 / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.01386, allocations: 376.5 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.01387, allocations: 23.78 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01389, allocations: 15.97 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.01397, allocations: 15.98 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.01402, allocations: 19.97 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.01403, allocations: 8 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.0141, allocations: 125.2 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0141, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001803/0.01428, allocations: 28 kB / 1.008 GB, free: 5.25 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.0005432/0.01482, allocations: 0.9176 MB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.01509, allocations: 166.5 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01509, allocations: 0 / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.0152, allocations: 80.03 kB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01546, allocations: 26.48 kB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.01751, allocations: 2.118 MB / 1.012 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.01759, allocations: 112.6 kB / 1.012 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.209e-05/0.01765, allocations: 21.66 kB / 1.012 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.01773, allocations: 52.48 kB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/0.01773, allocations: 0 / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09215/0.1099, allocations: 4.386 MB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.541, allocations: 7.875 kB / 1.016 GB, free: 13.34 MB / 0.9792 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: 12.236022373661399]