Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.001235/0.001235, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008758/0.008758, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 18.09 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2746, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001428/0.2761, allocations: 1.005 MB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1245/0.4006, allocations: 128.5 MB / 1.185 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.4007, allocations: 0 / 1.185 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.4007, allocations: 0 / 1.185 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.4008, allocations: 7.922 kB / 1.185 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.4011, allocations: 47.8 kB / 1.185 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.4012, allocations: 23.86 kB / 1.185 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.4012, allocations: 4 kB / 1.185 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.4013, allocations: 4 kB / 1.185 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.4013, allocations: 15.92 kB / 1.185 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4014, allocations: 0 / 1.185 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.4014, allocations: 12 kB / 1.185 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.4015, allocations: 7.922 kB / 1.185 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.4015, allocations: 41.62 kB / 1.185 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.656e-05/0.4016, allocations: 24.2 kB / 1.185 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4016, allocations: 0 / 1.185 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4016, allocations: 0 / 1.185 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.4016, allocations: 0 / 1.185 GB, free: 2.734 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003399/0.402, allocations: 327.6 kB / 1.186 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.402, allocations: 15.97 kB / 1.186 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.4021, allocations: 34.69 kB / 1.186 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.4021, allocations: 0.9375 kB / 1.186 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4022, allocations: 176.2 kB / 1.186 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.4023, allocations: 30.27 kB / 1.186 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4023, allocations: 4.375 kB / 1.186 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4024, allocations: 42 kB / 1.186 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4024, allocations: 0 / 1.186 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.4025, allocations: 4 kB / 1.186 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4025, allocations: 0 / 1.186 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.4026, allocations: 15.98 kB / 1.186 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.4027, allocations: 153.7 kB / 1.186 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/0.4028, allocations: 30.52 kB / 1.186 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.4029, allocations: 16.94 kB / 1.186 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.4031, allocations: 97.08 kB / 1.186 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4031, allocations: 34.5 kB / 1.186 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4031, allocations: 0 / 1.186 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002225/0.4033, allocations: 57.69 kB / 1.186 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4034, allocations: 55.39 kB / 1.186 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.4034, allocations: 93.86 kB / 1.187 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4035, allocations: 29.7 kB / 1.187 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.4035, allocations: 84.08 kB / 1.187 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.4035, allocations: 7.906 kB / 1.187 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.4035, allocations: 9.719 kB / 1.187 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.4036, allocations: 318.8 kB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.4037, allocations: 4 kB / 1.187 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.4037, allocations: 11.98 kB / 1.187 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.4038, allocations: 16.86 kB / 1.187 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.4038, allocations: 8 kB / 1.187 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.404, allocations: 49.67 kB / 1.187 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.404, allocations: 7.938 kB / 1.187 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.404, allocations: 0 / 1.187 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.404, allocations: 4 kB / 1.187 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.4041, allocations: 7.938 kB / 1.187 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4041, allocations: 0 / 1.187 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.4042, allocations: 7.938 kB / 1.187 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4042, allocations: 7.984 kB / 1.187 GB, free: 0.7461 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 7.335e-05/0.4043, allocations: 113.8 kB / 1.187 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.4043, allocations: 7.844 kB / 1.187 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.4044, allocations: 61.17 kB / 1.187 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4044, allocations: 0 / 1.187 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4045, allocations: 0 / 1.187 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4045, allocations: 0 / 1.187 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.4046, allocations: 153.7 kB / 1.187 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4046, allocations: 0 / 1.187 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.4046, allocations: 11.94 kB / 1.187 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4046, allocations: 3.938 kB / 1.187 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.4046, allocations: 4 kB / 1.187 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4046, allocations: 3.984 kB / 1.187 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4047, allocations: 0 / 1.187 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4048, allocations: 73.67 kB / 1.188 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.4049, allocations: 88.98 kB / 1.188 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.4049, allocations: 0 / 1.188 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.4049, allocations: 8 kB / 1.188 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.4049, allocations: 8.016 kB / 1.188 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.405, allocations: 0 / 1.188 GB, free: 120 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.405, allocations: 79.28 kB / 1.188 GB, free: 40 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.405, allocations: 0 / 1.188 GB, free: 40 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001913/0.4052, allocations: 12 kB / 1.188 GB, free: 28 kB / 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.0004865/0.4057, allocations: 0.6357 MB / 1.188 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4058, allocations: 19.98 kB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4058, allocations: 0 / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.4059, allocations: 11.94 kB / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.4061, allocations: 15.92 kB / 1.188 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.4065, allocations: 177.1 kB / 1.189 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4068, allocations: 0.677 MB / 1.189 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.4068, allocations: 4 kB / 1.189 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.4069, allocations: 11.44 kB / 1.189 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.4069, allocations: 0 / 1.189 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.418, allocations: 1.153 MB / 1.19 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.4182, allocations: 219.2 kB / 1.191 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.088, allocations: 0 / 1.191 GB, free: 13.15 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches