Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.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.0008882/0.0008882, allocations: 104.3 kB / 19.72 MB, free: 420 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.001854/0.001854, allocations: 207.8 kB / 23.02 MB, free: 2.961 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 1.065/1.065, allocations: 230.6 MB / 256.8 MB, free: 9.609 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 2.224/2.224, allocations: 0.5046 GB / 0.8104 GB, free: 2.785 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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009623/0.0009623, allocations: 72.03 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8531, allocations: 180 MB / 1.352 GB, free: 1.648 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002052/0.8551, allocations: 1.33 MB / 1.354 GB, free: 316 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.1286/0.9837, allocations: 130 MB / 1.481 GB, free: 13.77 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.9838, allocations: 0 / 1.481 GB, free: 13.77 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.9838, allocations: 7.922 kB / 1.481 GB, free: 13.76 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.9839, allocations: 15.91 kB / 1.481 GB, free: 13.75 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.9847, allocations: 330.6 kB / 1.481 GB, free: 13.42 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.9848, allocations: 63.77 kB / 1.481 GB, free: 13.36 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.9849, allocations: 11.98 kB / 1.481 GB, free: 13.35 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.9849, allocations: 31.91 kB / 1.481 GB, free: 13.32 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.985, allocations: 35.83 kB / 1.481 GB, free: 13.28 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.985, allocations: 8 kB / 1.481 GB, free: 13.27 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.9856, allocations: 370.6 kB / 1.482 GB, free: 12.91 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.9856, allocations: 15.97 kB / 1.482 GB, free: 12.9 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.9857, allocations: 27.86 kB / 1.482 GB, free: 12.87 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.9859, allocations: 145.9 kB / 1.482 GB, free: 12.73 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9859, allocations: 4 kB / 1.482 GB, free: 12.73 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9859, allocations: 0 / 1.482 GB, free: 12.73 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9859, allocations: 4 kB / 1.482 GB, free: 12.72 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003897/0.9863, allocations: 313.9 kB / 1.482 GB, free: 12.39 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9864, allocations: 16.91 kB / 1.482 GB, free: 12.37 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.9864, allocations: 34.75 kB / 1.482 GB, free: 12.33 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.9867, allocations: 32.91 kB / 1.482 GB, free: 12.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.9868, allocations: 122.2 kB / 1.482 GB, free: 12.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9868, allocations: 4 kB / 1.482 GB, free: 12.15 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.9868, allocations: 11.95 kB / 1.482 GB, free: 12.14 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.987, allocations: 202.2 kB / 1.482 GB, free: 11.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.987, allocations: 0 / 1.482 GB, free: 11.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.987, allocations: 7.984 kB / 1.482 GB, free: 11.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.987, allocations: 11.98 kB / 1.482 GB, free: 11.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.9871, allocations: 39.97 kB / 1.482 GB, free: 11.84 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.9873, allocations: 152.7 kB / 1.483 GB, free: 11.65 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.9874, allocations: 94.48 kB / 1.483 GB, free: 11.55 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.9875, allocations: 36.92 kB / 1.483 GB, free: 11.51 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.9876, allocations: 15.98 kB / 1.483 GB, free: 11.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.9877, allocations: 38.56 kB / 1.483 GB, free: 11.45 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.9877, allocations: 0 / 1.483 GB, free: 11.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001014/0.9887, allocations: 483.3 kB / 1.483 GB, free: 10.95 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9887, allocations: 55.41 kB / 1.483 GB, free: 10.88 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.9888, allocations: 105.8 kB / 1.483 GB, free: 10.77 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.9888, allocations: 29.7 kB / 1.483 GB, free: 10.73 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.9888, allocations: 80.52 kB / 1.484 GB, free: 10.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.9889, allocations: 79.44 kB / 1.484 GB, free: 10.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.9889, allocations: 45.7 kB / 1.484 GB, free: 10.52 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.989, allocations: 314.8 kB / 1.484 GB, free: 10.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.989, allocations: 39.98 kB / 1.484 GB, free: 10.16 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.9891, allocations: 67.41 kB / 1.484 GB, free: 10.09 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.9892, allocations: 111.3 kB / 1.484 GB, free: 9.965 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.9892, allocations: 0 / 1.484 GB, free: 9.965 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001499/0.9893, allocations: 161.5 kB / 1.484 GB, free: 9.801 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.9894, allocations: 7.984 kB / 1.484 GB, free: 9.793 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9894, allocations: 0 / 1.484 GB, free: 9.793 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9894, allocations: 4 kB / 1.484 GB, free: 9.789 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.9895, allocations: 39.98 kB / 1.484 GB, free: 9.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.9895, allocations: 3.938 kB / 1.484 GB, free: 9.746 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.9895, allocations: 8 kB / 1.484 GB, free: 9.738 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.9895, allocations: 4 kB / 1.484 GB, free: 9.734 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.674e-05/0.9896, allocations: 122.3 kB / 1.485 GB, free: 9.605 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.9896, allocations: 7.953 kB / 1.485 GB, free: 9.598 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.9897, allocations: 20.47 kB / 1.485 GB, free: 9.582 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9897, allocations: 0 / 1.485 GB, free: 9.582 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9897, allocations: 4.062 kB / 1.485 GB, free: 9.578 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9897, allocations: 3.984 kB / 1.485 GB, free: 9.574 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.9898, allocations: 164.7 kB / 1.485 GB, free: 9.371 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9898, allocations: 0 / 1.485 GB, free: 9.371 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.99, allocations: 43.86 kB / 1.485 GB, free: 9.328 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.99, allocations: 0 / 1.485 GB, free: 9.328 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.99, allocations: 8 kB / 1.485 GB, free: 9.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.99, allocations: 3.984 kB / 1.485 GB, free: 9.316 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.99, allocations: 3.938 kB / 1.485 GB, free: 9.312 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.9902, allocations: 213.4 kB / 1.485 GB, free: 9.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.9903, allocations: 20 kB / 1.485 GB, free: 9.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.9903, allocations: 0 / 1.485 GB, free: 9.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.9904, allocations: 15.98 kB / 1.485 GB, free: 9.055 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.9904, allocations: 15.86 kB / 1.485 GB, free: 9.039 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.9904, allocations: 8 kB / 1.485 GB, free: 9.031 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.9904, allocations: 79.28 kB / 1.485 GB, free: 8.953 MB / 1.167 GB Notification: Performance of sort global known variables: time 5e-08/0.9904, allocations: 0 / 1.485 GB, free: 8.953 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000158/0.9906, allocations: 24 kB / 1.485 GB, free: 8.93 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0007704/0.9914, allocations: 0.7451 MB / 1.486 GB, free: 8.152 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.9915, allocations: 106.2 kB / 1.486 GB, free: 8.051 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9915, allocations: 3.938 kB / 1.486 GB, free: 8.047 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.9916, allocations: 51.91 kB / 1.486 GB, free: 7.996 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.9918, allocations: 20.08 kB / 1.486 GB, free: 7.977 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.9931, allocations: 1.812 MB / 1.488 GB, free: 6.062 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.9932, allocations: 96.02 kB / 1.488 GB, free: 5.949 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 7.061e-05/0.9932, allocations: 20.62 kB / 1.488 GB, free: 5.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.9933, allocations: 23.44 kB / 1.488 GB, free: 5.906 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/0.9933, allocations: 0 / 1.488 GB, free: 5.906 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08102/1.074, allocations: 2.983 MB / 1.491 GB, free: 3.074 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.728, allocations: 15.61 kB / 1.491 GB, free: 3.062 MB / 1.167 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Media_Examples_AirDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_AirDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.AirDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.333697279915214]