Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 110.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.88 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9023/0.9043, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1661/1.07, allocations: 136.5 MB / 1.402 GB, free: 12.08 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03269/1.103, allocations: 22.76 MB / 1.424 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/1.103, allocations: 3.938 kB / 1.424 GB, free: 5.246 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003296/1.104, allocations: 47.73 kB / 1.424 GB, free: 5.199 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/1.104, allocations: 95.34 kB / 1.424 GB, free: 5.105 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01913/1.123, allocations: 6.961 MB / 1.431 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004468/1.124, allocations: 243.9 kB / 1.431 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/1.124, allocations: 13.55 kB / 1.431 GB, free: 13.91 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/1.124, allocations: 139.4 kB / 1.432 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/1.124, allocations: 99.59 kB / 1.432 GB, free: 13.67 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/1.124, allocations: 8 kB / 1.432 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02387/1.148, allocations: 11.67 MB / 1.443 GB, free: 1.984 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/1.148, allocations: 31.91 kB / 1.443 GB, free: 1.953 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/1.148, allocations: 83.64 kB / 1.443 GB, free: 1.871 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/1.165, allocations: 6.493 MB / 1.45 GB, free: 11.36 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.165, allocations: 0 / 1.45 GB, free: 11.36 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/1.165, allocations: 0 / 1.45 GB, free: 11.36 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.165, allocations: 0 / 1.45 GB, free: 11.36 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003731/1.169, allocations: 1.242 MB / 1.451 GB, free: 10.07 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.169, allocations: 12.03 kB / 1.451 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/1.169, allocations: 50.73 kB / 1.451 GB, free: 9.996 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.17, allocations: 88.75 kB / 1.451 GB, free: 9.91 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/1.17, allocations: 224.1 kB / 1.451 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.17, allocations: 15.88 kB / 1.451 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/1.17, allocations: 16 kB / 1.451 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.172, allocations: 456.5 kB / 1.452 GB, free: 9.156 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.172, allocations: 0 / 1.452 GB, free: 9.156 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/1.172, allocations: 12 kB / 1.452 GB, free: 9.145 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.172, allocations: 7.984 kB / 1.452 GB, free: 9.137 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.173, allocations: 0.5931 MB / 1.452 GB, free: 8.543 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.174, allocations: 0.8823 MB / 1.453 GB, free: 7.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/1.175, allocations: 232.4 kB / 1.453 GB, free: 7.34 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/1.175, allocations: 68.83 kB / 1.453 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09255/1.268, allocations: 35.42 MB / 1.488 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.268, allocations: 42.5 kB / 1.488 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/1.268, allocations: 0 / 1.488 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001778/1.27, allocations: 424 kB / 1.488 GB, free: 284 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.27, allocations: 51.41 kB / 1.488 GB, free: 220 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.27, allocations: 144 kB / 1.489 GB, free: 68 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.27, allocations: 29.7 kB / 1.489 GB, free: 32 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.27, allocations: 112.5 kB / 1.489 GB, free: 15.92 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/1.27, allocations: 95.16 kB / 1.489 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.27, allocations: 81.66 kB / 1.489 GB, free: 15.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002559/1.27, allocations: 322.8 kB / 1.489 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/1.271, allocations: 79.95 kB / 1.489 GB, free: 15.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/1.271, allocations: 133.5 kB / 1.489 GB, free: 15.19 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.271, allocations: 219.4 kB / 1.49 GB, free: 14.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.271, allocations: 4 kB / 1.49 GB, free: 14.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007853/1.272, allocations: 304.6 kB / 1.49 GB, free: 14.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.272, allocations: 8.156 kB / 1.49 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.272, allocations: 0 / 1.49 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.272, allocations: 4 kB / 1.49 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/1.273, allocations: 79.88 kB / 1.49 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.273, allocations: 7.984 kB / 1.49 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/1.273, allocations: 23.78 kB / 1.49 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/1.273, allocations: 27.98 kB / 1.49 GB, free: 14.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001326/1.273, allocations: 121.8 kB / 1.49 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.273, allocations: 19.91 kB / 1.49 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/1.276, allocations: 2.346 MB / 1.492 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.276, allocations: 11.98 kB / 1.492 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.276, allocations: 3.938 kB / 1.492 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.276, allocations: 7.922 kB / 1.492 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/1.279, allocations: 3.423 MB / 1.496 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.279, allocations: 0 / 1.496 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/1.28, allocations: 55.89 kB / 1.496 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.28, allocations: 3.938 kB / 1.496 GB, free: 8.379 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/1.28, allocations: 12 kB / 1.496 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.28, allocations: 3.984 kB / 1.496 GB, free: 8.363 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.28, allocations: 4 kB / 1.496 GB, free: 8.359 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/1.28, allocations: 0.5435 MB / 1.496 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.281, allocations: 144.7 kB / 1.497 GB, free: 7.641 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/1.281, allocations: 11.88 kB / 1.497 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.281, allocations: 11.98 kB / 1.497 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/1.281, allocations: 23.98 kB / 1.497 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/1.281, allocations: 15.98 kB / 1.497 GB, free: 7.578 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.588e-05/1.281, allocations: 103.3 kB / 1.497 GB, free: 7.477 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.281, allocations: 0 / 1.497 GB, free: 7.477 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004508/1.286, allocations: 1.707 MB / 1.498 GB, free: 5.766 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008888/1.294, allocations: 2.938 MB / 1.501 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007522/1.295, allocations: 317.5 kB / 1.502 GB, free: 2.488 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.295, allocations: 0 / 1.502 GB, free: 2.488 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/1.295, allocations: 188.5 kB / 1.502 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/1.296, allocations: 66.22 kB / 1.502 GB, free: 2.242 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/1.302, allocations: 3.085 MB / 1.505 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.303, allocations: 0.7699 MB / 1.506 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006474/1.303, allocations: 413.2 kB / 1.506 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.304, allocations: 91.39 kB / 1.506 GB, free: 13.75 MB / 1.217 GB Notification: Performance of SimCode: time 1.123e-06/1.304, allocations: 0 / 1.506 GB, free: 13.75 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/1.466, allocations: 63.19 MB / 1.568 GB, free: 14.57 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.12, allocations: 8.562 kB / 1.568 GB, free: 14.57 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.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: 20.3381935977377]