Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_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.005998/0.005998, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001157/0.001157, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.774/2.774, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002708/0.3275, allocations: 1.274 MB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6652/0.9928, allocations: 132 MB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.9928, allocations: 1.031 kB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.9929, allocations: 0.6094 kB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.993, allocations: 6.281 kB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.9933, allocations: 61.02 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.9934, allocations: 23.48 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.9934, allocations: 3.359 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.9935, allocations: 9.672 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.9935, allocations: 13.77 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.9935, allocations: 1.219 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.9936, allocations: 17.22 kB / 1.296 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.9936, allocations: 1.641 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.9937, allocations: 12.09 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.319e-05/0.9938, allocations: 23.8 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.9938, allocations: 0 / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9938, allocations: 0 / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.9938, allocations: 0 / 1.297 GB, free: 13.9 MB / 1.014 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.0003998/0.9942, allocations: 341.9 kB / 1.297 GB, free: 13.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.9942, allocations: 9.281 kB / 1.297 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.9943, allocations: 36.16 kB / 1.297 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.9943, allocations: 2.281 kB / 1.297 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.9944, allocations: 167.1 kB / 1.297 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.9945, allocations: 30.23 kB / 1.297 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.9945, allocations: 3.25 kB / 1.297 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.9946, allocations: 43.28 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.9947, allocations: 0 / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.9947, allocations: 5.375 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.9947, allocations: 3.938 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.9948, allocations: 11.12 kB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.9949, allocations: 155.4 kB / 1.297 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.995, allocations: 29.64 kB / 1.297 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.9951, allocations: 11.81 kB / 1.297 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.9952, allocations: 99.25 kB / 1.297 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.9953, allocations: 36.16 kB / 1.297 GB, free: 12.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9953, allocations: 1 kB / 1.297 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002161/0.9955, allocations: 57.14 kB / 1.298 GB, free: 12.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.9956, allocations: 52.53 kB / 1.298 GB, free: 12.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.9956, allocations: 99.14 kB / 1.298 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.9957, allocations: 31.02 kB / 1.298 GB, free: 12.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.9957, allocations: 80.14 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.9957, allocations: 10.97 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.9958, allocations: 17.14 kB / 1.298 GB, free: 12.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9959, allocations: 312.5 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.9959, allocations: 10.19 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.996, allocations: 6.188 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/0.9961, allocations: 33.39 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9961, allocations: 1.188 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.9962, allocations: 47.88 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9962, allocations: 10.39 kB / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.9962, allocations: 0 / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.9962, allocations: 0 / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.9963, allocations: 6.688 kB / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9963, allocations: 7.219 kB / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.9964, allocations: 9.547 kB / 1.298 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.9964, allocations: 2.078 kB / 1.298 GB, free: 12.15 MB / 1.014 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.269e-05/0.9964, allocations: 114.5 kB / 1.298 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.9965, allocations: 6.094 kB / 1.298 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.9966, allocations: 60.92 kB / 1.298 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9966, allocations: 0 / 1.298 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9966, allocations: 1.094 kB / 1.298 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9966, allocations: 0.7031 kB / 1.298 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.9968, allocations: 152.4 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9968, allocations: 1.156 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.9968, allocations: 10.38 kB / 1.299 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9968, allocations: 3.938 kB / 1.299 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.9968, allocations: 1.188 kB / 1.299 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9968, allocations: 0.5625 kB / 1.299 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9968, allocations: 1.375 kB / 1.299 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.997, allocations: 80.94 kB / 1.299 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.9971, allocations: 83.31 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.9971, allocations: 5.453 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.9971, allocations: 2.656 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.9971, allocations: 4.562 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9971, allocations: 0 / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.9972, allocations: 82.53 kB / 1.299 GB, free: 11.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9972, allocations: 0 / 1.299 GB, free: 11.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001758/0.9974, allocations: 7.906 kB / 1.299 GB, free: 11.55 MB / 1.014 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.0004548/0.9978, allocations: 0.6253 MB / 1.299 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.998, allocations: 25.14 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.998, allocations: 1 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.998, allocations: 9.625 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.9983, allocations: 9.703 kB / 1.299 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.9986, allocations: 161.8 kB / 1.3 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.9989, allocations: 0.6752 MB / 1.3 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.9989, allocations: 2.797 kB / 1.3 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.999, allocations: 17.09 kB / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.999, allocations: 3.938 kB / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/2.135, allocations: 1.372 MB / 1.302 GB, free: 9.719 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/17.2, allocations: 12.5 kB / 1.302 GB, free: 9.715 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches