Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001459/0.001459, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001675/0.001675, allocations: 213.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.986/2.986, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 72.62 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002262/0.3182, allocations: 1.335 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1543/0.4725, allocations: 130 MB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.4726, allocations: 0 / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.4726, allocations: 3.984 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.4727, allocations: 23.84 kB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.4736, allocations: 318.7 kB / 1.492 GB, free: 9.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.4737, allocations: 67.7 kB / 1.492 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.4738, allocations: 4 kB / 1.492 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.4738, allocations: 35.91 kB / 1.492 GB, free: 9.785 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.4739, allocations: 27.89 kB / 1.492 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4739, allocations: 4 kB / 1.492 GB, free: 9.754 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.4746, allocations: 371 kB / 1.492 GB, free: 9.391 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.4747, allocations: 19.98 kB / 1.492 GB, free: 9.371 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.4747, allocations: 27.91 kB / 1.493 GB, free: 9.344 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.475, allocations: 159.5 kB / 1.493 GB, free: 9.188 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.475, allocations: 0 / 1.493 GB, free: 9.188 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/0.475, allocations: 3.938 kB / 1.493 GB, free: 9.184 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.475, allocations: 0 / 1.493 GB, free: 9.184 MB / 1.186 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.0004342/0.4754, allocations: 314 kB / 1.493 GB, free: 8.848 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4755, allocations: 8.031 kB / 1.493 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.4755, allocations: 46.67 kB / 1.493 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.4759, allocations: 32.91 kB / 1.493 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.476, allocations: 110.3 kB / 1.493 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.476, allocations: 4 kB / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.476, allocations: 19.94 kB / 1.493 GB, free: 8.598 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.4763, allocations: 206.1 kB / 1.493 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4763, allocations: 0 / 1.493 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.4763, allocations: 7.938 kB / 1.493 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4763, allocations: 0 / 1.493 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.4764, allocations: 43.95 kB / 1.493 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.4766, allocations: 156.6 kB / 1.494 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.4768, allocations: 78.61 kB / 1.494 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.4768, allocations: 32.88 kB / 1.494 GB, free: 7.992 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.477, allocations: 28.3 kB / 1.494 GB, free: 7.965 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.477, allocations: 42.5 kB / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.477, allocations: 0 / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.4782, allocations: 479.4 kB / 1.494 GB, free: 7.414 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4783, allocations: 55.41 kB / 1.494 GB, free: 7.348 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.4784, allocations: 105.8 kB / 1.494 GB, free: 7.234 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4784, allocations: 25.7 kB / 1.494 GB, free: 7.203 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.4784, allocations: 84.52 kB / 1.494 GB, free: 7.117 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.4785, allocations: 71.38 kB / 1.495 GB, free: 7.047 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.4786, allocations: 41.7 kB / 1.495 GB, free: 7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4787, allocations: 318.8 kB / 1.495 GB, free: 6.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.4788, allocations: 39.92 kB / 1.495 GB, free: 6.641 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.4789, allocations: 69.56 kB / 1.495 GB, free: 6.562 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.479, allocations: 127.3 kB / 1.495 GB, free: 6.426 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.479, allocations: 0 / 1.495 GB, free: 6.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002298/0.4793, allocations: 153.5 kB / 1.495 GB, free: 6.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4793, allocations: 8 kB / 1.495 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4793, allocations: 0 / 1.495 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4793, allocations: 7.984 kB / 1.495 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4795, allocations: 35.92 kB / 1.495 GB, free: 6.219 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4795, allocations: 7.938 kB / 1.495 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.4795, allocations: 4 kB / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.4795, allocations: 8 kB / 1.495 GB, free: 6.199 MB / 1.186 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.67e-05/0.4796, allocations: 126.4 kB / 1.495 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.4797, allocations: 7.953 kB / 1.495 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.4797, allocations: 16.47 kB / 1.495 GB, free: 6.043 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4797, allocations: 4 kB / 1.495 GB, free: 6.039 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4797, allocations: 3.938 kB / 1.495 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4797, allocations: 3.984 kB / 1.495 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4799, allocations: 156.7 kB / 1.496 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4799, allocations: 0 / 1.496 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4801, allocations: 39.98 kB / 1.496 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4801, allocations: 0 / 1.496 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4801, allocations: 8 kB / 1.496 GB, free: 5.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4801, allocations: 3.938 kB / 1.496 GB, free: 5.785 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4801, allocations: 3.938 kB / 1.496 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4804, allocations: 216.7 kB / 1.496 GB, free: 5.551 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.4805, allocations: 15.94 kB / 1.496 GB, free: 5.535 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4805, allocations: 8 kB / 1.496 GB, free: 5.527 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4806, allocations: 4.25 kB / 1.496 GB, free: 5.523 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.4806, allocations: 19.91 kB / 1.496 GB, free: 5.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4806, allocations: 8 kB / 1.496 GB, free: 5.496 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.4807, allocations: 83.28 kB / 1.496 GB, free: 5.414 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4807, allocations: 4.094 kB / 1.496 GB, free: 5.41 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002082/0.4809, allocations: 24 kB / 1.496 GB, free: 5.387 MB / 1.186 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.0006164/0.4815, allocations: 0.7434 MB / 1.497 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.4817, allocations: 99.91 kB / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4817, allocations: 0 / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.4818, allocations: 51.91 kB / 1.497 GB, free: 4.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.482, allocations: 15.94 kB / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.4839, allocations: 1.832 MB / 1.499 GB, free: 2.523 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.581e-05/0.484, allocations: 80 kB / 1.499 GB, free: 2.426 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.4841, allocations: 28.62 kB / 1.499 GB, free: 2.398 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.4842, allocations: 23.44 kB / 1.499 GB, free: 2.375 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.4842, allocations: 0 / 1.499 GB, free: 2.375 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.5143, allocations: 2.982 MB / 1.502 GB, free: 15.53 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.59, allocations: 6.625 kB / 1.502 GB, free: 15.53 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.650154410861433]