Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.001276/0.001276, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001391/0.001391, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.077/3.077, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",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.001973/0.001973, allocations: 65.8 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 179 MB / 1.345 GB, free: 12 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002266/0.3245, allocations: 1.265 MB / 1.346 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1459/0.4704, allocations: 120.8 MB / 1.464 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.4705, allocations: 0 / 1.464 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.4705, allocations: 11.92 kB / 1.464 GB, free: 5.434 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.4705, allocations: 7.922 kB / 1.464 GB, free: 5.426 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4718, allocations: 450.7 kB / 1.465 GB, free: 4.984 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.4718, allocations: 43.84 kB / 1.465 GB, free: 4.941 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.4719, allocations: 11.98 kB / 1.465 GB, free: 4.93 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.4719, allocations: 19.94 kB / 1.465 GB, free: 4.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.472, allocations: 19.95 kB / 1.465 GB, free: 4.891 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.472, allocations: 4 kB / 1.465 GB, free: 4.887 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.4734, allocations: 0.827 MB / 1.466 GB, free: 4.059 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.4734, allocations: 0 / 1.466 GB, free: 4.059 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.4735, allocations: 19.97 kB / 1.466 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.4741, allocations: 439.1 kB / 1.466 GB, free: 3.609 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4741, allocations: 0 / 1.466 GB, free: 3.609 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4741, allocations: 0 / 1.466 GB, free: 3.609 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4741, allocations: 4 kB / 1.466 GB, free: 3.605 MB / 1.154 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.0004458/0.4745, allocations: 298 kB / 1.467 GB, free: 3.285 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4746, allocations: 16.02 kB / 1.467 GB, free: 3.27 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.216e-05/0.4746, allocations: 4.188 kB / 1.467 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.4746, allocations: 34.75 kB / 1.467 GB, free: 3.223 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.4748, allocations: 8.938 kB / 1.467 GB, free: 3.215 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.4748, allocations: 110.5 kB / 1.467 GB, free: 3.082 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4749, allocations: 12.05 kB / 1.467 GB, free: 3.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4749, allocations: 11.95 kB / 1.467 GB, free: 3.059 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4751, allocations: 126.8 kB / 1.467 GB, free: 2.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4751, allocations: 4 kB / 1.467 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4751, allocations: 4 kB / 1.467 GB, free: 2.902 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4751, allocations: 4 kB / 1.467 GB, free: 2.898 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.4752, allocations: 19.98 kB / 1.467 GB, free: 2.879 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.4753, allocations: 136.7 kB / 1.467 GB, free: 2.703 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4754, allocations: 54.44 kB / 1.467 GB, free: 2.641 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.4755, allocations: 12.86 kB / 1.467 GB, free: 2.625 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.4865, allocations: 2.872 MB / 1.47 GB, free: 15.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4865, allocations: 30.56 kB / 1.47 GB, free: 15.71 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.4865, allocations: 0 / 1.47 GB, free: 15.71 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.04241/0.5289, allocations: 14.93 MB / 1.484 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5289, allocations: 59.34 kB / 1.485 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.529, allocations: 93.84 kB / 1.485 GB, free: 488 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.5291, allocations: 29.7 kB / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.5291, allocations: 84.14 kB / 1.485 GB, free: 364 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.5291, allocations: 39.64 kB / 1.485 GB, free: 324 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.5292, allocations: 29.72 kB / 1.485 GB, free: 288 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5294, allocations: 322.8 kB / 1.485 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.5295, allocations: 20.12 kB / 1.485 GB, free: 15.94 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.5295, allocations: 29.86 kB / 1.485 GB, free: 15.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.5296, allocations: 60.83 kB / 1.485 GB, free: 15.85 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5296, allocations: 0 / 1.485 GB, free: 15.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002212/0.5299, allocations: 107.2 kB / 1.485 GB, free: 15.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5299, allocations: 4 kB / 1.485 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.5299, allocations: 7.875 kB / 1.485 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5299, allocations: 0 / 1.485 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.53, allocations: 23.98 kB / 1.485 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.53, allocations: 0 / 1.485 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.53, allocations: 8 kB / 1.485 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.5301, allocations: 8 kB / 1.485 GB, free: 15.69 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 0.0001686/0.5302, allocations: 117.8 kB / 1.485 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.5303, allocations: 7.953 kB / 1.485 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.5306, allocations: 133.3 kB / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5306, allocations: 0 / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5306, allocations: 0 / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5306, allocations: 4 kB / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.5307, allocations: 144.7 kB / 1.486 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5308, allocations: 7.984 kB / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5309, allocations: 19.98 kB / 1.486 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5309, allocations: 4 kB / 1.486 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5309, allocations: 4 kB / 1.486 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5309, allocations: 3.938 kB / 1.486 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5309, allocations: 0 / 1.486 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.5312, allocations: 169.1 kB / 1.486 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.5312, allocations: 8.031 kB / 1.486 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.5313, allocations: 0 / 1.486 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.5314, allocations: 19.98 kB / 1.486 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5314, allocations: 7.984 kB / 1.486 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5315, allocations: 8 kB / 1.486 GB, free: 14.96 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.5315, allocations: 75.28 kB / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5315, allocations: 0 / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001703/0.5332, allocations: 0.566 MB / 1.487 GB, free: 14.32 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.003596/0.5368, allocations: 0.9478 MB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.537, allocations: 63.86 kB / 1.488 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.537, allocations: 4 kB / 1.488 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.5371, allocations: 31.98 kB / 1.488 GB, free: 13.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.5372, allocations: 8 kB / 1.488 GB, free: 13.24 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.5397, allocations: 1.558 MB / 1.489 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.5397, allocations: 67.34 kB / 1.489 GB, free: 11.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.259e-05/0.5398, allocations: 24.53 kB / 1.489 GB, free: 11.49 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.5399, allocations: 19.44 kB / 1.489 GB, free: 11.47 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/0.5399, allocations: 0 / 1.489 GB, free: 11.47 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06145/0.6013, allocations: 25.71 MB / 1.514 GB, free: 1.883 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.24, allocations: 5.953 kB / 1.514 GB, free: 1.879 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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: 28.085155147011392]