Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001564/0.001564, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.00155/0.00155, allocations: 220 kB / 23.04 MB, free: 5.078 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.375/3.375, allocations: 0.49 GB / 0.7959 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SteamDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_12_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.002234/0.002234, allocations: 69.38 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4069, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003201/0.4101, allocations: 1.285 MB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1912/0.6013, allocations: 141 MB / 1.466 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.6013, allocations: 3.938 kB / 1.466 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.6014, allocations: 0 / 1.466 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.6014, allocations: 3.938 kB / 1.466 GB, free: 3.199 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.6027, allocations: 478.5 kB / 1.466 GB, free: 2.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.6028, allocations: 43.83 kB / 1.466 GB, free: 2.688 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.6029, allocations: 4 kB / 1.466 GB, free: 2.684 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.6029, allocations: 19.92 kB / 1.466 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.603, allocations: 23.91 kB / 1.466 GB, free: 2.641 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.603, allocations: 4 kB / 1.466 GB, free: 2.637 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.6045, allocations: 0.8387 MB / 1.467 GB, free: 1.797 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.6045, allocations: 7.984 kB / 1.467 GB, free: 1.789 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.6046, allocations: 15.92 kB / 1.467 GB, free: 1.773 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.6052, allocations: 451 kB / 1.467 GB, free: 1.332 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6052, allocations: 0 / 1.467 GB, free: 1.332 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6052, allocations: 0 / 1.467 GB, free: 1.332 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6052, allocations: 0 / 1.467 GB, free: 1.332 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.0004865/0.6057, allocations: 298.8 kB / 1.468 GB, free: 1.012 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6057, allocations: 15.95 kB / 1.468 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.23e-05/0.6057, allocations: 4.188 kB / 1.468 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.6057, allocations: 34.69 kB / 1.468 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.6059, allocations: 20.92 kB / 1.468 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.606, allocations: 110.5 kB / 1.468 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.606, allocations: 4.125 kB / 1.468 GB, free: 0.793 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.606, allocations: 8 kB / 1.468 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.6062, allocations: 53.66 kB / 1.468 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.6062, allocations: 3.984 kB / 1.468 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6062, allocations: 4 kB / 1.468 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.6062, allocations: 4 kB / 1.468 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.6063, allocations: 11.98 kB / 1.468 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.6065, allocations: 144.6 kB / 1.468 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.6066, allocations: 54.5 kB / 1.468 GB, free: 468 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.6066, allocations: 20.84 kB / 1.468 GB, free: 444 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.6183, allocations: 2.864 MB / 1.471 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.6183, allocations: 30.56 kB / 1.471 GB, free: 13.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.6183, allocations: 0 / 1.471 GB, free: 13.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.04409/0.6624, allocations: 14.91 MB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6625, allocations: 55.34 kB / 1.486 GB, free: 14.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.6625, allocations: 93.86 kB / 1.486 GB, free: 14.31 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.6626, allocations: 33.64 kB / 1.486 GB, free: 14.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.6626, allocations: 84.27 kB / 1.486 GB, free: 14.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.6626, allocations: 39.69 kB / 1.486 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.6627, allocations: 33.66 kB / 1.486 GB, free: 14.11 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6628, allocations: 322.8 kB / 1.486 GB, free: 13.78 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.6629, allocations: 23.98 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.663, allocations: 27.11 kB / 1.486 GB, free: 13.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.6631, allocations: 56.86 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6631, allocations: 0 / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002225/0.6633, allocations: 109.6 kB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6633, allocations: 8 kB / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6633, allocations: 0 / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6633, allocations: 0 / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6635, allocations: 23.98 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.6635, allocations: 3.984 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.6635, allocations: 4 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6635, allocations: 4 kB / 1.486 GB, free: 13.52 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 8.849e-05/0.6636, allocations: 120.5 kB / 1.487 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.6636, allocations: 15.89 kB / 1.487 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.6639, allocations: 125.3 kB / 1.487 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6639, allocations: 4 kB / 1.487 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6639, allocations: 3.984 kB / 1.487 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6639, allocations: 4 kB / 1.487 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.6641, allocations: 152.7 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6641, allocations: 4 kB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6642, allocations: 20 kB / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6642, allocations: 3.984 kB / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.6642, allocations: 8 kB / 1.487 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6642, allocations: 0 / 1.487 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6642, allocations: 3.938 kB / 1.487 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.6645, allocations: 164.9 kB / 1.487 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.6646, allocations: 7.984 kB / 1.487 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6646, allocations: 0 / 1.487 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.6647, allocations: 16 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.6647, allocations: 7.984 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.6648, allocations: 11.98 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.6648, allocations: 75.28 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6648, allocations: 0 / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001746/0.6665, allocations: 0.566 MB / 1.488 GB, free: 12.14 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.003915/0.6705, allocations: 0.9578 MB / 1.489 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.6707, allocations: 64.34 kB / 1.489 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6707, allocations: 0 / 1.489 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.6707, allocations: 31.98 kB / 1.489 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.6709, allocations: 9.781 kB / 1.489 GB, free: 11.06 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.6735, allocations: 1.552 MB / 1.49 GB, free: 9.426 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6738, allocations: 0.6924 MB / 1.491 GB, free: 8.707 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.6739, allocations: 24.53 kB / 1.491 GB, free: 8.684 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.674, allocations: 23.42 kB / 1.491 GB, free: 8.66 MB / 1.186 GB Notification: Performance of SimCode: time 7.92e-07/0.674, allocations: 0 / 1.491 GB, free: 8.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06447/0.7384, allocations: 25.67 MB / 1.516 GB, free: 15.11 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.04, allocations: 9.734 kB / 1.516 GB, free: 15.11 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 29.00969533296302]