Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004507/0.004507, allocations: 100.9 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 194.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2656, allocations: 162.3 MB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.5217/0.7874, allocations: 37.34 MB / 1.278 GB, free: 8.652 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.9564, allocations: 148.6 MB / 1.423 GB, free: 9.438 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.9577, allocations: 53.94 kB / 1.423 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.9612, allocations: 1.583 MB / 1.425 GB, free: 8.348 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.9652, allocations: 2.085 MB / 1.427 GB, free: 6.707 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.9681, allocations: 1.487 MB / 1.429 GB, free: 5.664 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006439/0.9745, allocations: 5.935 MB / 1.434 GB, free: 2.082 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.9758, allocations: 1.128 MB / 1.435 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.9786, allocations: 1.606 MB / 1.437 GB, free: 15.31 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.9797, allocations: 0.9727 MB / 1.438 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.9799, allocations: 116 kB / 1.438 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.9817, allocations: 1.127 MB / 1.439 GB, free: 13.1 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.9821, allocations: 0.4906 MB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.9829, allocations: 0.8512 MB / 1.44 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.9858, allocations: 2.709 MB / 1.443 GB, free: 9.031 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.9858, allocations: 0 / 1.443 GB, free: 9.031 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9858, allocations: 4 kB / 1.443 GB, free: 9.027 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.9858, allocations: 4 kB / 1.443 GB, free: 9.023 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002956/0.9888, allocations: 2.122 MB / 1.445 GB, free: 6.836 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.9888, allocations: 8.031 kB / 1.445 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.989, allocations: 114.5 kB / 1.445 GB, free: 6.707 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.9905, allocations: 369 kB / 1.446 GB, free: 6.348 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.9937, allocations: 2.163 MB / 1.448 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.9938, allocations: 65.98 kB / 1.448 GB, free: 4.07 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.9939, allocations: 76 kB / 1.448 GB, free: 3.996 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.9954, allocations: 0.8464 MB / 1.449 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.9954, allocations: 7.938 kB / 1.449 GB, free: 3.105 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.9955, allocations: 28 kB / 1.449 GB, free: 3.078 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.9956, allocations: 20 kB / 1.449 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.9971, allocations: 0.6479 MB / 1.449 GB, free: 2.41 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/1.003, allocations: 3.956 MB / 1.453 GB, free: 14.22 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/1.005, allocations: 0.4931 MB / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/1.006, allocations: 237.4 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003658/1.01, allocations: 1.799 MB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.01, allocations: 38.89 kB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/1.01, allocations: 0 / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.001894/1.012, allocations: 0.7449 MB / 1.456 GB, free: 10.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/1.012, allocations: 55.41 kB / 1.457 GB, free: 10.63 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/1.014, allocations: 1.53 MB / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/1.014, allocations: 37.7 kB / 1.458 GB, free: 9.047 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/1.014, allocations: 0.6774 MB / 1.459 GB, free: 8.363 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.014, allocations: 158.7 kB / 1.459 GB, free: 8.207 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/1.015, allocations: 246.5 kB / 1.459 GB, free: 7.961 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.015, allocations: 357.9 kB / 1.459 GB, free: 7.605 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/1.016, allocations: 432.9 kB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.017, allocations: 0.6944 MB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.018, allocations: 1.03 MB / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.018, allocations: 0 / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00216/1.02, allocations: 1.292 MB / 1.463 GB, free: 3.953 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.021, allocations: 12 kB / 1.463 GB, free: 3.941 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.021, allocations: 7.984 kB / 1.463 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.021, allocations: 12 kB / 1.463 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/1.021, allocations: 216.1 kB / 1.463 GB, free: 3.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.021, allocations: 19.92 kB / 1.463 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/1.022, allocations: 131.9 kB / 1.463 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/1.022, allocations: 43.98 kB / 1.463 GB, free: 3.52 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/1.023, allocations: 0.7443 MB / 1.464 GB, free: 2.766 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009328/1.024, allocations: 0.6902 MB / 1.465 GB, free: 1.969 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/1.026, allocations: 1.007 MB / 1.466 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/1.026, allocations: 5.484 kB / 1.466 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00202/1.028, allocations: 1.263 MB / 1.467 GB, free: 15.59 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.028, allocations: 8 kB / 1.467 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.028, allocations: 11.94 kB / 1.467 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.028, allocations: 12 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/1.028, allocations: 209.2 kB / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.028, allocations: 19.92 kB / 1.467 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/1.029, allocations: 107.5 kB / 1.467 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/1.029, allocations: 43.98 kB / 1.467 GB, free: 15.18 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (111): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000179/1.029, allocations: 240.8 kB / 1.467 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.03, allocations: 139.1 kB / 1.468 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/1.031, allocations: 0.7245 MB / 1.468 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.031, allocations: 7.984 kB / 1.468 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.031, allocations: 0 / 1.468 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.032, allocations: 0.7431 MB / 1.469 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/1.035, allocations: 1.784 MB / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.035, allocations: 0 / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/1.036, allocations: 103.9 kB / 1.471 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.036, allocations: 4 kB / 1.471 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/1.036, allocations: 23.92 kB / 1.471 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.036, allocations: 0 / 1.471 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.036, allocations: 8.062 kB / 1.471 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/1.038, allocations: 1.039 MB / 1.472 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/1.038, allocations: 303.9 kB / 1.472 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.038, allocations: 15.98 kB / 1.472 GB, free: 9.855 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/1.039, allocations: 40.06 kB / 1.472 GB, free: 9.816 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/1.039, allocations: 39.88 kB / 1.472 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/1.039, allocations: 15.98 kB / 1.472 GB, free: 9.762 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001266/1.04, allocations: 1.035 MB / 1.473 GB, free: 8.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/1.04, allocations: 0 / 1.473 GB, free: 8.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00148/1.042, allocations: 0.7447 MB / 1.474 GB, free: 7.984 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (pum.vol.dynBal.U,pum.motSpe.y,hIn.h_out,hOut.h_out) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003101/1.045, allocations: 2.01 MB / 1.476 GB, free: 5.941 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002485/1.047, allocations: 1.441 MB / 1.477 GB, free: 4.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.047, allocations: 0 / 1.477 GB, free: 4.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006094/1.048, allocations: 281.8 kB / 1.478 GB, free: 4.227 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.05, allocations: 0.7019 MB / 1.478 GB, free: 3.547 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.068, allocations: 10.47 MB / 1.489 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/1.069, allocations: 1.276 MB / 1.49 GB, free: 7.426 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001031/1.07, allocations: 379.1 kB / 1.49 GB, free: 7.051 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/1.071, allocations: 0.5813 MB / 1.491 GB, free: 6.469 MB / 1.186 GB Notification: Performance of SimCode: time 2.4e-07/1.071, allocations: 0 / 1.491 GB, free: 6.469 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8744/1.945, allocations: 40.19 MB / 1.53 GB, free: 14.81 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/23.39, allocations: 0 / 1.53 GB, free: 14.81 MB / 1.232 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap_fmu --startTime=0 --stopTime=180 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches