Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",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.005808/0.005808, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001416/0.001416, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.84 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2941, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.8118/1.106, allocations: 136.1 MB / 1.34 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03077/1.137, allocations: 22.67 MB / 1.362 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/1.137, allocations: 5.281 kB / 1.362 GB, free: 8.402 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/1.137, allocations: 39.66 kB / 1.362 GB, free: 8.383 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003419/1.138, allocations: 97.06 kB / 1.362 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.02242/1.16, allocations: 6.952 MB / 1.369 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000506/1.161, allocations: 249 kB / 1.369 GB, free: 4.188 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/1.161, allocations: 9.625 kB / 1.37 GB, free: 4.188 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/1.161, allocations: 146 kB / 1.37 GB, free: 4.105 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/1.161, allocations: 92.97 kB / 1.37 GB, free: 4.051 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/1.161, allocations: 16.47 kB / 1.37 GB, free: 4.043 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02698/1.188, allocations: 11.64 MB / 1.381 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/1.188, allocations: 38.14 kB / 1.381 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/1.189, allocations: 80.98 kB / 1.381 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01891/1.208, allocations: 6.478 MB / 1.388 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.208, allocations: 1.438 kB / 1.388 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/1.208, allocations: 0 / 1.388 GB, free: 9.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.208, allocations: 0 / 1.388 GB, free: 9.723 MB / 1.076 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.005117/1.213, allocations: 1.196 MB / 1.389 GB, free: 8.848 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.213, allocations: 10.22 kB / 1.389 GB, free: 8.848 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/1.213, allocations: 52.23 kB / 1.389 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/1.214, allocations: 84.8 kB / 1.389 GB, free: 8.758 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/1.214, allocations: 235.3 kB / 1.389 GB, free: 8.504 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/1.214, allocations: 14.66 kB / 1.389 GB, free: 8.496 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/1.214, allocations: 14.66 kB / 1.389 GB, free: 8.492 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/1.215, allocations: 454.9 kB / 1.39 GB, free: 8.203 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.216, allocations: 5.75 kB / 1.39 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/1.216, allocations: 7.406 kB / 1.39 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/1.216, allocations: 3.594 kB / 1.39 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/1.217, allocations: 0.5989 MB / 1.39 GB, free: 7.902 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/1.218, allocations: 0.882 MB / 1.391 GB, free: 7.047 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/1.219, allocations: 245 kB / 1.391 GB, free: 6.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.219, allocations: 74.39 kB / 1.391 GB, free: 6.879 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09151/1.31, allocations: 35.41 MB / 1.426 GB, free: 3.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.31, allocations: 43.16 kB / 1.426 GB, free: 3.895 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/1.31, allocations: 3.938 kB / 1.426 GB, free: 3.891 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.00199/1.312, allocations: 421 kB / 1.426 GB, free: 3.473 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.312, allocations: 59.39 kB / 1.426 GB, free: 3.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.313, allocations: 135.1 kB / 1.427 GB, free: 3.262 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/1.313, allocations: 33.7 kB / 1.427 GB, free: 3.223 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/1.313, allocations: 112.3 kB / 1.427 GB, free: 3.109 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/1.313, allocations: 82.75 kB / 1.427 GB, free: 3.027 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.313, allocations: 77.66 kB / 1.427 GB, free: 2.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.313, allocations: 338.7 kB / 1.427 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.313, allocations: 79.95 kB / 1.427 GB, free: 2.527 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/1.314, allocations: 130.8 kB / 1.427 GB, free: 2.383 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/1.314, allocations: 219.2 kB / 1.428 GB, free: 2.152 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.314, allocations: 0 / 1.428 GB, free: 2.152 MB / 1.107 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008559/1.315, allocations: 301.1 kB / 1.428 GB, free: 1.852 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.315, allocations: 4 kB / 1.428 GB, free: 1.848 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.315, allocations: 4.156 kB / 1.428 GB, free: 1.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.315, allocations: 4 kB / 1.428 GB, free: 1.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/1.315, allocations: 83.88 kB / 1.428 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.315, allocations: 0.875 kB / 1.428 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/1.316, allocations: 23.78 kB / 1.428 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/1.316, allocations: 23.98 kB / 1.428 GB, free: 1.711 MB / 1.107 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.0001807/1.316, allocations: 129.8 kB / 1.428 GB, free: 1.574 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/1.316, allocations: 15.81 kB / 1.428 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/1.319, allocations: 2.35 MB / 1.43 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.319, allocations: 15.97 kB / 1.43 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.319, allocations: 0 / 1.43 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.319, allocations: 3.938 kB / 1.43 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/1.322, allocations: 3.421 MB / 1.434 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.322, allocations: 0 / 1.434 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.323, allocations: 63.88 kB / 1.434 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.323, allocations: 0 / 1.434 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/1.323, allocations: 11.94 kB / 1.434 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.323, allocations: 0 / 1.434 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.323, allocations: 4 kB / 1.434 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/1.324, allocations: 0.5465 MB / 1.434 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.324, allocations: 140.5 kB / 1.435 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/1.324, allocations: 7.938 kB / 1.435 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.324, allocations: 15.98 kB / 1.435 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.324, allocations: 19.97 kB / 1.435 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.324, allocations: 12 kB / 1.435 GB, free: 10.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7.616e-05/1.324, allocations: 108.8 kB / 1.435 GB, free: 10.69 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.324, allocations: 0 / 1.435 GB, free: 10.69 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005432/1.33, allocations: 1.691 MB / 1.436 GB, free: 8.996 MB / 1.123 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.01047/1.34, allocations: 2.924 MB / 1.439 GB, free: 6.051 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007055/1.341, allocations: 324.3 kB / 1.439 GB, free: 5.734 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.341, allocations: 4.312 kB / 1.439 GB, free: 5.73 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/1.341, allocations: 240.5 kB / 1.44 GB, free: 5.496 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/1.342, allocations: 61.77 kB / 1.44 GB, free: 5.438 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/1.348, allocations: 3.069 MB / 1.443 GB, free: 2.254 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/1.349, allocations: 0.7661 MB / 1.444 GB, free: 1.461 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005819/1.349, allocations: 409.2 kB / 1.444 GB, free: 1.059 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/1.349, allocations: 95.39 kB / 1.444 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of SimCode: time 7.32e-07/1.35, allocations: 0 / 1.444 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.466, allocations: 63.27 MB / 1.506 GB, free: 1.711 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/13.44, allocations: 8.703 kB / 1.506 GB, free: 1.703 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches