Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_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.001799/0.001799, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.481/1.481, 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 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3341, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002763/0.3369, allocations: 1.494 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6918/1.029, allocations: 132.1 MB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/1.029, allocations: 1.188 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/1.029, allocations: 5.344 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/1.029, allocations: 16.47 kB / 1.297 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/1.029, allocations: 69.75 kB / 1.297 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.038e-05/1.029, allocations: 58.47 kB / 1.297 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/1.029, allocations: 14.59 kB / 1.297 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/1.03, allocations: 20.81 kB / 1.297 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/1.03, allocations: 23.88 kB / 1.297 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/1.03, allocations: 7.234 kB / 1.297 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/1.03, allocations: 21.44 kB / 1.297 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/1.03, allocations: 13.78 kB / 1.297 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/1.03, allocations: 19.17 kB / 1.297 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/1.03, allocations: 59.08 kB / 1.297 GB, free: 13.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/1.03, allocations: 0 / 1.297 GB, free: 13.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/1.03, allocations: 0 / 1.297 GB, free: 13.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.258e-06/1.03, allocations: 0 / 1.297 GB, free: 13.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005055/1.03, allocations: 374.8 kB / 1.297 GB, free: 13.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/1.03, allocations: 13.44 kB / 1.297 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/1.031, allocations: 37.77 kB / 1.297 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/1.031, allocations: 7.109 kB / 1.297 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.031, allocations: 173.2 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/1.031, allocations: 3.391 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.031, allocations: 2.5 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/1.031, allocations: 74.14 kB / 1.298 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.031, allocations: 4.547 kB / 1.298 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/1.031, allocations: 4 kB / 1.298 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/1.031, allocations: 0.9688 kB / 1.298 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/1.031, allocations: 72.05 kB / 1.298 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/1.032, allocations: 286 kB / 1.298 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/1.032, allocations: 58.64 kB / 1.298 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/1.032, allocations: 36.86 kB / 1.298 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/1.032, allocations: 92.77 kB / 1.298 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.032, allocations: 36.59 kB / 1.298 GB, free: 12.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.032, allocations: 4 kB / 1.298 GB, free: 12.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005142/1.033, allocations: 124.3 kB / 1.298 GB, free: 12.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.033, allocations: 56.05 kB / 1.298 GB, free: 12.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/1.033, allocations: 116.3 kB / 1.298 GB, free: 12.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.033, allocations: 25.7 kB / 1.298 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/1.033, allocations: 103.5 kB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/1.033, allocations: 10.41 kB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/1.033, allocations: 16.48 kB / 1.299 GB, free: 12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.033, allocations: 318.4 kB / 1.299 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.033, allocations: 33.67 kB / 1.299 GB, free: 11.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.033, allocations: 42.94 kB / 1.299 GB, free: 11.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/1.034, allocations: 66.5 kB / 1.299 GB, free: 11.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.034, allocations: 0 / 1.299 GB, free: 11.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/1.034, allocations: 97.42 kB / 1.299 GB, free: 11.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.034, allocations: 9.812 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/1.034, allocations: 1.094 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/1.034, allocations: 0 / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.034, allocations: 19.66 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.034, allocations: 1.156 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/1.034, allocations: 11.56 kB / 1.299 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.034, allocations: 1.906 kB / 1.299 GB, free: 11.62 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 8.838e-05/1.034, allocations: 124.7 kB / 1.299 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/1.034, allocations: 6.219 kB / 1.299 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/1.035, allocations: 103.8 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.035, allocations: 1.75 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.035, allocations: 3.266 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/1.035, allocations: 0 / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/1.035, allocations: 172 kB / 1.3 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.035, allocations: 7.938 kB / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/1.035, allocations: 16.56 kB / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.035, allocations: 0 / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.035, allocations: 5.547 kB / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.035, allocations: 0 / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.035, allocations: 0 / 1.3 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/1.035, allocations: 201.9 kB / 1.3 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/1.036, allocations: 83.03 kB / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.036, allocations: 1.344 kB / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.036, allocations: 11.2 kB / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/1.036, allocations: 7.906 kB / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/1.036, allocations: 0 / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.266e-05/1.036, allocations: 92.67 kB / 1.3 GB, free: 10.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.036, allocations: 4 kB / 1.3 GB, free: 10.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002182/1.036, allocations: 17.75 kB / 1.3 GB, free: 10.93 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.0006502/1.037, allocations: 0.7514 MB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003069/1.037, allocations: 65.77 kB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/1.037, allocations: 0 / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.037, allocations: 37.7 kB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/1.037, allocations: 12.36 kB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/1.039, allocations: 1.425 MB / 1.302 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.039, allocations: 0.6825 MB / 1.303 GB, free: 8.387 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.444e-05/1.039, allocations: 3.156 kB / 1.303 GB, free: 8.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/1.039, allocations: 19.39 kB / 1.303 GB, free: 8.379 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.039, allocations: 0 / 1.303 GB, free: 8.379 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/1.263, allocations: 2.074 MB / 1.305 GB, free: 7.973 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/9.936, allocations: 8.938 kB / 1.305 GB, free: 7.965 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches