Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.002112/0.002112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002404/0.002403, allocations: 189.5 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.118/2.118, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.913/3.913, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 67.59 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5138, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00465/0.5185, allocations: 1.56 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.7077, allocations: 130.1 MB / 1.181 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.7078, allocations: 3.938 kB / 1.181 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.7079, allocations: 0 / 1.181 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.708, allocations: 3.938 kB / 1.181 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.7084, allocations: 64.05 kB / 1.181 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.7085, allocations: 55.73 kB / 1.181 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7086, allocations: 27.91 kB / 1.181 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.7087, allocations: 19.94 kB / 1.181 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.7088, allocations: 19.91 kB / 1.181 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.7088, allocations: 11.94 kB / 1.181 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.7089, allocations: 15.98 kB / 1.181 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.7089, allocations: 15.92 kB / 1.181 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.709, allocations: 19.92 kB / 1.181 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.7092, allocations: 59.81 kB / 1.181 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7092, allocations: 4 kB / 1.181 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7092, allocations: 0 / 1.181 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.7092, allocations: 0 / 1.181 GB, free: 4.16 MB / 0.9356 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.0006383/0.7098, allocations: 367.4 kB / 1.182 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.7099, allocations: 8.625 kB / 1.182 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.71, allocations: 34.73 kB / 1.182 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.71, allocations: 8.844 kB / 1.182 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.7102, allocations: 176.2 kB / 1.182 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7102, allocations: 4.375 kB / 1.182 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.7102, allocations: 8.375 kB / 1.182 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.7105, allocations: 78.19 kB / 1.182 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.7106, allocations: 3.938 kB / 1.182 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.7106, allocations: 0 / 1.182 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.7106, allocations: 0 / 1.182 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.711, allocations: 71.92 kB / 1.182 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.7115, allocations: 276.8 kB / 1.182 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.7118, allocations: 54.53 kB / 1.182 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.712, allocations: 44.91 kB / 1.182 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.7122, allocations: 89.11 kB / 1.182 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.7122, allocations: 38.55 kB / 1.182 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.7122, allocations: 0 / 1.182 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0007359/0.713, allocations: 133.4 kB / 1.183 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.713, allocations: 55.34 kB / 1.183 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7132, allocations: 125.7 kB / 1.183 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.7132, allocations: 25.7 kB / 1.183 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.7133, allocations: 92.08 kB / 1.183 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.7133, allocations: 7.812 kB / 1.183 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.7134, allocations: 21.72 kB / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7135, allocations: 318.8 kB / 1.183 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.7137, allocations: 27.97 kB / 1.183 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.7139, allocations: 35.95 kB / 1.183 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.7143, allocations: 76.72 kB / 1.183 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7143, allocations: 0 / 1.183 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004752/0.7148, allocations: 101.6 kB / 1.183 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7148, allocations: 4 kB / 1.183 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.7148, allocations: 0 / 1.183 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.7149, allocations: 0 / 1.183 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.7151, allocations: 19.98 kB / 1.183 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7151, allocations: 0 / 1.183 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.7152, allocations: 15.97 kB / 1.184 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7152, allocations: 0 / 1.184 GB, free: 1.629 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0001175/0.7154, allocations: 113.8 kB / 1.184 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.7154, allocations: 7.906 kB / 1.184 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000605/0.716, allocations: 113.8 kB / 1.184 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.7161, allocations: 0 / 1.184 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7161, allocations: 4 kB / 1.184 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7161, allocations: 0 / 1.184 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.7164, allocations: 173.6 kB / 1.184 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7164, allocations: 0 / 1.184 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.7166, allocations: 19.98 kB / 1.184 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7166, allocations: 0 / 1.184 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7166, allocations: 4 kB / 1.184 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7166, allocations: 0 / 1.184 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7167, allocations: 0 / 1.184 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.7173, allocations: 203.2 kB / 1.184 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.7173, allocations: 81.05 kB / 1.184 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.7174, allocations: 4 kB / 1.184 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.7176, allocations: 15.98 kB / 1.184 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.7176, allocations: 3.984 kB / 1.184 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.7177, allocations: 4 kB / 1.184 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.345e-05/0.7178, allocations: 91.27 kB / 1.184 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7178, allocations: 0 / 1.184 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004289/0.7182, allocations: 15.94 kB / 1.184 GB, free: 0.6875 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.001077/0.7193, allocations: 0.7397 MB / 1.185 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.7199, allocations: 79.81 kB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7199, allocations: 0 / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.7202, allocations: 35.95 kB / 1.185 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.7208, allocations: 12 kB / 1.185 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.7237, allocations: 1.437 MB / 1.187 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.7241, allocations: 0.6885 MB / 1.187 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.7241, allocations: 4 kB / 1.187 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.7242, allocations: 19.44 kB / 1.187 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.7242, allocations: 0 / 1.187 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.7433, allocations: 1.848 MB / 1.189 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/0.7436, allocations: 215.2 kB / 1.189 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.281, allocations: 0 / 1.189 GB, free: 11.57 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches