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.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.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.0009152/0.0009152, allocations: 91.69 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.006675/0.006675, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 13.78 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2869, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001703/0.2887, allocations: 1.217 MB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1402/0.4289, allocations: 128.5 MB / 1.185 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.429, allocations: 0 / 1.185 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.4291, allocations: 3.984 kB / 1.185 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.4291, allocations: 7.875 kB / 1.185 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.4295, allocations: 60.06 kB / 1.186 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.4296, allocations: 59.78 kB / 1.186 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.4297, allocations: 11.94 kB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.4298, allocations: 19.92 kB / 1.186 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.4298, allocations: 19.92 kB / 1.186 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.4298, allocations: 0 / 1.186 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.4299, allocations: 11.98 kB / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.43, allocations: 15.92 kB / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.43, allocations: 41.62 kB / 1.186 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.4302, allocations: 59.81 kB / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4302, allocations: 0 / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.588e-06/0.4302, allocations: 3.984 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4302, allocations: 3.938 kB / 1.186 GB, free: 2.309 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.0005189/0.4307, allocations: 367.4 kB / 1.186 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4308, allocations: 19.97 kB / 1.186 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.4308, allocations: 30.75 kB / 1.186 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.4308, allocations: 12.78 kB / 1.186 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.4309, allocations: 168.3 kB / 1.186 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.431, allocations: 8.375 kB / 1.186 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.431, allocations: 384 / 1.186 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4313, allocations: 90.2 kB / 1.186 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4313, allocations: 3.938 kB / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4313, allocations: 0 / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4313, allocations: 0 / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.4316, allocations: 99.84 kB / 1.187 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.432, allocations: 280.7 kB / 1.187 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4323, allocations: 74.52 kB / 1.187 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.4324, allocations: 52.86 kB / 1.187 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.4326, allocations: 89.09 kB / 1.187 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4326, allocations: 34.56 kB / 1.187 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4326, allocations: 0 / 1.187 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005857/0.4332, allocations: 165.5 kB / 1.187 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4333, allocations: 55.41 kB / 1.187 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.4334, allocations: 121.6 kB / 1.187 GB, free: 460 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4334, allocations: 29.64 kB / 1.187 GB, free: 424 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.4334, allocations: 96.06 kB / 1.188 GB, free: 324 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4335, allocations: 7.906 kB / 1.188 GB, free: 316 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.4335, allocations: 9.719 kB / 1.188 GB, free: 300 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4336, allocations: 330.8 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4338, allocations: 39.91 kB / 1.188 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4339, allocations: 39.97 kB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.4342, allocations: 92.78 kB / 1.188 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4343, allocations: 0 / 1.188 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003467/0.4346, allocations: 125.5 kB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4346, allocations: 8.922 kB / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4346, allocations: 4 kB / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4347, allocations: 0 / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4348, allocations: 23.98 kB / 1.188 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4348, allocations: 0 / 1.188 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.4349, allocations: 15.98 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4349, allocations: 3.938 kB / 1.188 GB, free: 15.61 MB / 0.9512 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.585e-05/0.435, allocations: 117.8 kB / 1.188 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.435, allocations: 3.906 kB / 1.188 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.4354, allocations: 129.5 kB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4354, allocations: 7.938 kB / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4354, allocations: 0 / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4355, allocations: 0 / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4356, allocations: 173.6 kB / 1.189 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4356, allocations: 7.984 kB / 1.189 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4358, allocations: 19.98 kB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4358, allocations: 4 kB / 1.189 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.4358, allocations: 0 / 1.189 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4358, allocations: 4 kB / 1.189 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4358, allocations: 3.938 kB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4362, allocations: 215.8 kB / 1.189 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.4362, allocations: 85.02 kB / 1.189 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4363, allocations: 0 / 1.189 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4364, allocations: 19.98 kB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4364, allocations: 8.031 kB / 1.189 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.4364, allocations: 7.984 kB / 1.189 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.4365, allocations: 91.22 kB / 1.189 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4365, allocations: 0 / 1.189 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002306/0.4368, allocations: 19.92 kB / 1.189 GB, free: 14.6 MB / 0.9512 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.0006729/0.4375, allocations: 0.7553 MB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.4378, allocations: 95.92 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4378, allocations: 0 / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.438, allocations: 47.95 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.4383, allocations: 8 kB / 1.19 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.4401, allocations: 1.503 MB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4403, allocations: 0.6809 MB / 1.192 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.4403, allocations: 8 kB / 1.192 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.4404, allocations: 19.42 kB / 1.192 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.4404, allocations: 0 / 1.192 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.4514, allocations: 1.728 MB / 1.194 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.4516, allocations: 209.8 kB / 1.194 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.22, allocations: 0 / 1.194 GB, free: 9.512 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