Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0008067/0.0008067, allocations: 80.55 kB / 19.96 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.0008355/0.0008355, allocations: 173.6 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.9552/0.9552, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.806/1.806, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.103e-05, allocations: 5.797 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001634/0.001655, allocations: 1.282 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6472/0.6488, allocations: 129.1 MB / 1.128 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.6489, allocations: 1.094 kB / 1.128 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.6489, allocations: 5.203 kB / 1.128 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.6489, allocations: 10.02 kB / 1.128 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.6494, allocations: 97.78 kB / 1.128 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.6494, allocations: 32.77 kB / 1.128 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.6495, allocations: 5.391 kB / 1.128 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.6496, allocations: 23.81 kB / 1.128 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.6496, allocations: 12.86 kB / 1.128 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.6496, allocations: 2.219 kB / 1.128 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.6499, allocations: 75.5 kB / 1.128 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.6499, allocations: 12.09 kB / 1.128 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.6499, allocations: 12.38 kB / 1.128 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.6501, allocations: 66.44 kB / 1.128 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6501, allocations: 0 / 1.128 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6501, allocations: 1.25 kB / 1.128 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6501, allocations: 3.938 kB / 1.128 GB, free: 3.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003166/0.6504, allocations: 278.7 kB / 1.129 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6505, allocations: 14.53 kB / 1.129 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.6505, allocations: 36.77 kB / 1.129 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.6506, allocations: 11.33 kB / 1.129 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.243e-05/0.6507, allocations: 108.8 kB / 1.129 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6507, allocations: 2.562 kB / 1.129 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6507, allocations: 8.438 kB / 1.129 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.6508, allocations: 127.8 kB / 1.129 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6508, allocations: 1.062 kB / 1.129 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6508, allocations: 5.781 kB / 1.129 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6508, allocations: 4 kB / 1.129 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.6509, allocations: 12.52 kB / 1.129 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.651, allocations: 141.3 kB / 1.129 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.6511, allocations: 54.58 kB / 1.129 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.6511, allocations: 12.47 kB / 1.129 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.6511, allocations: 5.031 kB / 1.129 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.6511, allocations: 36.58 kB / 1.129 GB, free: 2.262 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.6511, allocations: 0 / 1.129 GB, free: 2.262 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0005902/0.6517, allocations: 296.7 kB / 1.129 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.6518, allocations: 57.97 kB / 1.129 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.6518, allocations: 93.69 kB / 1.13 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.6518, allocations: 31.11 kB / 1.13 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-06/0.6518, allocations: 84.08 kB / 1.13 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.6518, allocations: 40.28 kB / 1.13 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.6519, allocations: 27.61 kB / 1.13 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.6519, allocations: 319 kB / 1.13 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.6519, allocations: 17.41 kB / 1.13 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.652, allocations: 35.58 kB / 1.13 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.652, allocations: 61.89 kB / 1.13 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.652, allocations: 4.125 kB / 1.13 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001031/0.6522, allocations: 99.52 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6522, allocations: 5.062 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6522, allocations: 1.219 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6522, allocations: 1.844 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.6523, allocations: 24.81 kB / 1.13 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6523, allocations: 6.281 kB / 1.13 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.6523, allocations: 1.375 kB / 1.13 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.6523, allocations: 4.703 kB / 1.13 GB, free: 1.262 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 4.542e-05/0.6524, allocations: 117 kB / 1.13 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.6524, allocations: 6.906 kB / 1.13 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.6524, allocations: 16.53 kB / 1.13 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6524, allocations: 2 kB / 1.13 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6524, allocations: 1.094 kB / 1.13 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6524, allocations: 0.9375 kB / 1.13 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.823e-05/0.6525, allocations: 141.8 kB / 1.131 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6525, allocations: 1.219 kB / 1.131 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.6526, allocations: 24.66 kB / 1.131 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6526, allocations: 0.75 kB / 1.131 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.6526, allocations: 5.031 kB / 1.131 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6526, allocations: 8.938 kB / 1.131 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6526, allocations: 0.7969 kB / 1.131 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.6527, allocations: 129.4 kB / 1.131 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.6528, allocations: 7.375 kB / 1.131 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.6528, allocations: 5.125 kB / 1.131 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.6528, allocations: 3.594 kB / 1.131 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.6529, allocations: 5.75 kB / 1.131 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.6529, allocations: 8.016 kB / 1.131 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.213e-05/0.6529, allocations: 76.31 kB / 1.131 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6529, allocations: 3.938 kB / 1.131 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001399/0.653, allocations: 20.06 kB / 1.131 GB, free: 0.7617 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0002422/0.6533, allocations: 0.6718 MB / 1.131 GB, free: 144 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.6534, allocations: 55.83 kB / 1.132 GB, free: 128 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6534, allocations: 0 / 1.132 GB, free: 128 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.6534, allocations: 29.27 kB / 1.132 GB, free: 120 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.6536, allocations: 8.469 kB / 1.132 GB, free: 116 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.6548, allocations: 1.386 MB / 1.133 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.6548, allocations: 70.23 kB / 1.133 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.6549, allocations: 9.938 kB / 1.133 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.6549, allocations: 21.8 kB / 1.133 GB, free: 14.77 MB / 1.01 GB Notification: Performance of SimCode: time 6.91e-07/0.6549, allocations: 1.062 kB / 1.133 GB, free: 14.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09783/0.7527, allocations: 2.356 MB / 1.135 GB, free: 13.86 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/8.153, allocations: 4.031 kB / 1.135 GB, free: 13.86 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_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_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.760359252803028]