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.001239/0.001239, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001406/0.001406, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.409/1.409, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.856/2.856, allocations: 0.5003 GB / 0.8026 GB, free: 6.844 MB / 0.6387 GB " [Timeout remaining time 176] 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.001935/0.001935, allocations: 75.89 kB / 1.165 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9187, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002473/0.9211, allocations: 1.282 MB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1749/1.096, allocations: 140.9 MB / 1.479 GB, free: 5.926 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/1.096, allocations: 5.25 kB / 1.479 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/1.096, allocations: 0 / 1.479 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/1.096, allocations: 9.109 kB / 1.479 GB, free: 5.914 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/1.098, allocations: 458.1 kB / 1.479 GB, free: 5.594 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/1.098, allocations: 43.22 kB / 1.479 GB, free: 5.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/1.098, allocations: 6.703 kB / 1.479 GB, free: 5.566 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/1.098, allocations: 22.56 kB / 1.48 GB, free: 5.555 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/1.098, allocations: 23.17 kB / 1.48 GB, free: 5.539 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/1.098, allocations: 2.719 kB / 1.48 GB, free: 5.539 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/1.1, allocations: 0.8373 MB / 1.48 GB, free: 5.102 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/1.1, allocations: 6.406 kB / 1.48 GB, free: 5.098 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/1.1, allocations: 18.91 kB / 1.48 GB, free: 5.086 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007408/1.1, allocations: 448.3 kB / 1.481 GB, free: 4.805 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.1, allocations: 0 / 1.481 GB, free: 4.805 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/1.1, allocations: 0 / 1.481 GB, free: 4.805 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.1, allocations: 5.469 kB / 1.481 GB, free: 4.801 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.0006433/1.101, allocations: 372.3 kB / 1.481 GB, free: 4.418 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.101, allocations: 9.656 kB / 1.481 GB, free: 4.418 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.663e-05/1.101, allocations: 5.562 kB / 1.481 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/1.101, allocations: 35.84 kB / 1.481 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/1.101, allocations: 16.8 kB / 1.481 GB, free: 4.363 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/1.102, allocations: 166.1 kB / 1.481 GB, free: 4.164 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.102, allocations: 5.562 kB / 1.481 GB, free: 4.16 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/1.102, allocations: 7.984 kB / 1.481 GB, free: 4.156 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.102, allocations: 57.62 kB / 1.481 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.102, allocations: 0 / 1.481 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.102, allocations: 1.062 kB / 1.481 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.102, allocations: 9.484 kB / 1.481 GB, free: 4.098 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/1.102, allocations: 18.3 kB / 1.481 GB, free: 4.09 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/1.102, allocations: 168.8 kB / 1.482 GB, free: 3.883 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.102, allocations: 55.56 kB / 1.482 GB, free: 3.84 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/1.102, allocations: 13.39 kB / 1.482 GB, free: 3.828 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/1.114, allocations: 3.203 MB / 1.485 GB, free: 2.246 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/1.114, allocations: 40.66 kB / 1.485 GB, free: 2.199 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/1.114, allocations: 0 / 1.485 GB, free: 2.199 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.04458/1.159, allocations: 15 MB / 1.5 GB, free: 4.68 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.159, allocations: 59.39 kB / 1.5 GB, free: 4.609 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/1.159, allocations: 89.86 kB / 1.5 GB, free: 4.512 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.159, allocations: 37.64 kB / 1.5 GB, free: 4.469 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/1.159, allocations: 80.14 kB / 1.5 GB, free: 4.387 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/1.159, allocations: 43.62 kB / 1.5 GB, free: 4.344 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/1.159, allocations: 25.72 kB / 1.5 GB, free: 4.312 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.159, allocations: 326.8 kB / 1.5 GB, free: 3.984 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/1.159, allocations: 23.98 kB / 1.5 GB, free: 3.961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/1.16, allocations: 20.12 kB / 1.5 GB, free: 3.941 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/1.16, allocations: 68.84 kB / 1.5 GB, free: 3.871 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.16, allocations: 0 / 1.5 GB, free: 3.871 MB / 1.17 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002179/1.16, allocations: 98.12 kB / 1.5 GB, free: 3.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.16, allocations: 11.98 kB / 1.5 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.16, allocations: 0 / 1.5 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.16, allocations: 0 / 1.5 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.16, allocations: 24 kB / 1.5 GB, free: 3.734 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.16, allocations: 0 / 1.5 GB, free: 3.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/1.16, allocations: 3.984 kB / 1.5 GB, free: 3.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.16, allocations: 15.94 kB / 1.5 GB, free: 3.715 MB / 1.17 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 8.735e-05/1.16, allocations: 117.8 kB / 1.501 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/1.16, allocations: 11.89 kB / 1.501 GB, free: 3.578 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.161, allocations: 117.5 kB / 1.501 GB, free: 3.453 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.161, allocations: 4 kB / 1.501 GB, free: 3.449 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.161, allocations: 4 kB / 1.501 GB, free: 3.445 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.161, allocations: 4 kB / 1.501 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/1.161, allocations: 173.6 kB / 1.501 GB, free: 3.223 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.161, allocations: 0 / 1.501 GB, free: 3.223 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.161, allocations: 27.98 kB / 1.501 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.161, allocations: 0 / 1.501 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.161, allocations: 4 kB / 1.501 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.161, allocations: 3.938 kB / 1.501 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.161, allocations: 0 / 1.501 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/1.161, allocations: 164.9 kB / 1.501 GB, free: 3.008 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/1.161, allocations: 85.14 kB / 1.501 GB, free: 2.906 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.161, allocations: 4 kB / 1.501 GB, free: 2.902 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.161, allocations: 11.98 kB / 1.501 GB, free: 2.891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/1.161, allocations: 7.984 kB / 1.501 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.161, allocations: 8 kB / 1.501 GB, free: 2.875 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.03e-05/1.161, allocations: 79.28 kB / 1.501 GB, free: 2.797 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.161, allocations: 0 / 1.501 GB, free: 2.797 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001888/1.163, allocations: 0.5699 MB / 1.502 GB, free: 2.227 MB / 1.17 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.003423/1.167, allocations: 0.9515 MB / 1.503 GB, free: 1.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001774/1.167, allocations: 59.92 kB / 1.503 GB, free: 1.191 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.167, allocations: 0 / 1.503 GB, free: 1.191 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/1.167, allocations: 31.98 kB / 1.503 GB, free: 1.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/1.167, allocations: 14.03 kB / 1.503 GB, free: 1.148 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/1.169, allocations: 1.551 MB / 1.504 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/1.17, allocations: 0.6846 MB / 1.505 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.311e-05/1.17, allocations: 24.53 kB / 1.505 GB, free: 14.78 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/1.17, allocations: 23.44 kB / 1.505 GB, free: 14.76 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/1.17, allocations: 0 / 1.505 GB, free: 14.76 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07581/1.246, allocations: 25.53 MB / 1.53 GB, free: 5.309 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/10.12, allocations: 5.859 kB / 1.53 GB, free: 5.305 MB / 1.201 GB " [Timeout remaining time 290] (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: 24.51702785800444]