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.001262/0.001262, 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.001186/0.001186, 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.9737/0.9737, allocations: 177.1 MB / 203.5 MB, free: 5.273 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.888/1.888, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.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 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.555e-05, allocations: 5.234 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001518/0.001533, allocations: 1.337 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5983/0.5998, allocations: 130.1 MB / 1.129 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.5999, allocations: 0 / 1.129 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.5999, allocations: 5.438 kB / 1.129 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.6, allocations: 13.31 kB / 1.129 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.6008, allocations: 343.5 kB / 1.129 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.6009, allocations: 70.28 kB / 1.129 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.6009, allocations: 3.047 kB / 1.129 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.601, allocations: 40.69 kB / 1.129 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.6011, allocations: 32.81 kB / 1.129 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.6011, allocations: 3.562 kB / 1.129 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.6018, allocations: 380.2 kB / 1.13 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.6019, allocations: 17.2 kB / 1.13 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.602, allocations: 17.83 kB / 1.13 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.6023, allocations: 170.2 kB / 1.13 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6023, allocations: 1.438 kB / 1.13 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6023, allocations: 0 / 1.13 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.6023, allocations: 0 / 1.13 GB, free: 2.148 MB / 0.9948 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.0004422/0.6028, allocations: 319.5 kB / 1.13 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.6028, allocations: 15.19 kB / 1.13 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.6028, allocations: 38.66 kB / 1.13 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.6032, allocations: 32.86 kB / 1.13 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.6033, allocations: 109.6 kB / 1.13 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6033, allocations: 6.5 kB / 1.13 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.6033, allocations: 15.69 kB / 1.131 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.6035, allocations: 209 kB / 1.131 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6035, allocations: 0 / 1.131 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6035, allocations: 5.094 kB / 1.131 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6035, allocations: 2.094 kB / 1.131 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.6036, allocations: 44.2 kB / 1.131 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.6038, allocations: 153.5 kB / 1.131 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.604, allocations: 87.33 kB / 1.131 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.604, allocations: 27.91 kB / 1.131 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6042, allocations: 32.16 kB / 1.131 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.6042, allocations: 36.72 kB / 1.131 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.6042, allocations: 4 kB / 1.131 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.001117/0.6054, allocations: 486.5 kB / 1.132 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.6054, allocations: 54.03 kB / 1.132 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.6054, allocations: 94.75 kB / 1.132 GB, free: 0.7461 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.6055, allocations: 34.95 kB / 1.132 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.6055, allocations: 81.77 kB / 1.132 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.6055, allocations: 76.77 kB / 1.132 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.6056, allocations: 38.69 kB / 1.132 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.6056, allocations: 324.4 kB / 1.132 GB, free: 220 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.6057, allocations: 33.88 kB / 1.132 GB, free: 212 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.6058, allocations: 67.95 kB / 1.132 GB, free: 168 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.6059, allocations: 119.1 kB / 1.132 GB, free: 96 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6059, allocations: 1.375 kB / 1.132 GB, free: 96 kB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001764/0.6061, allocations: 155.6 kB / 1.133 GB, free: 16 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6061, allocations: 6.156 kB / 1.133 GB, free: 16 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6061, allocations: 5.25 kB / 1.133 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6061, allocations: 2.031 kB / 1.133 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6062, allocations: 39.69 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6062, allocations: 5.25 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.6063, allocations: 3.406 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.6063, allocations: 12.19 kB / 1.133 GB, free: 0 / 0.9948 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 9.381e-05/0.6064, allocations: 119.4 kB / 1.133 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.6064, allocations: 9.766 kB / 1.133 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.6064, allocations: 18.31 kB / 1.133 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.6064, allocations: 1.188 kB / 1.133 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6064, allocations: 5.281 kB / 1.133 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6064, allocations: 1.5 kB / 1.133 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.6065, allocations: 163.2 kB / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6065, allocations: 0 / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6067, allocations: 41 kB / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6067, allocations: 0 / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.6067, allocations: 5.672 kB / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6067, allocations: 3.922 kB / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6067, allocations: 1.281 kB / 1.133 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.6069, allocations: 211.6 kB / 1.133 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.607, allocations: 22.62 kB / 1.133 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.607, allocations: 9.828 kB / 1.133 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.6071, allocations: 9 kB / 1.133 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.6071, allocations: 10.41 kB / 1.133 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.6071, allocations: 8.562 kB / 1.133 GB, free: 15.53 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.6071, allocations: 78.41 kB / 1.133 GB, free: 15.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6071, allocations: 0 / 1.133 GB, free: 15.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001545/0.6073, allocations: 26.34 kB / 1.133 GB, free: 15.45 MB / 1.01 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.0006278/0.6079, allocations: 0.7594 MB / 1.134 GB, free: 14.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.6081, allocations: 101.4 kB / 1.134 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6081, allocations: 0 / 1.134 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.6081, allocations: 49.47 kB / 1.134 GB, free: 14.76 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.6084, allocations: 11.61 kB / 1.134 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6099, allocations: 1.723 MB / 1.136 GB, free: 13.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.61, allocations: 83.19 kB / 1.136 GB, free: 13.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.738e-05/0.61, allocations: 23.94 kB / 1.136 GB, free: 13.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.6101, allocations: 26.97 kB / 1.136 GB, free: 13.24 MB / 1.01 GB Notification: Performance of SimCode: time 6.12e-07/0.6101, allocations: 0 / 1.136 GB, free: 13.24 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/0.6916, allocations: 3.117 MB / 1.139 GB, free: 12.25 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.855, allocations: 5.344 kB / 1.139 GB, free: 12.25 MB / 1.01 GB " [Timeout remaining time 292] (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: 12.512152903713286]