Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 210.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.14 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4007, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002648/0.4033, allocations: 1.297 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.5765, allocations: 135.2 MB / 1.459 GB, free: 8.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.5766, allocations: 0 / 1.459 GB, free: 8.91 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.5766, allocations: 0 / 1.459 GB, free: 8.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.5767, allocations: 7.938 kB / 1.459 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.5771, allocations: 63.88 kB / 1.459 GB, free: 8.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.5772, allocations: 15.94 kB / 1.459 GB, free: 8.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.5773, allocations: 7.984 kB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.5773, allocations: 7.984 kB / 1.459 GB, free: 8.809 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.5774, allocations: 11.94 kB / 1.459 GB, free: 8.797 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5774, allocations: 0 / 1.459 GB, free: 8.797 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.5775, allocations: 27.8 kB / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.5776, allocations: 4 kB / 1.459 GB, free: 8.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.5776, allocations: 11.92 kB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.5777, allocations: 19.98 kB / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5777, allocations: 3.938 kB / 1.459 GB, free: 8.734 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5777, allocations: 0 / 1.459 GB, free: 8.734 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.5777, allocations: 0 / 1.459 GB, free: 8.734 MB / 1.154 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.0004729/0.5782, allocations: 262.3 kB / 1.46 GB, free: 8.445 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5783, allocations: 8.031 kB / 1.46 GB, free: 8.438 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.5783, allocations: 38.75 kB / 1.46 GB, free: 8.391 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.5783, allocations: 4.938 kB / 1.46 GB, free: 8.387 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5784, allocations: 110.5 kB / 1.46 GB, free: 8.254 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5785, allocations: 55.95 kB / 1.46 GB, free: 8.188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.5786, allocations: 4.375 kB / 1.46 GB, free: 8.184 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5787, allocations: 42 kB / 1.46 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5787, allocations: 0 / 1.46 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.5787, allocations: 4 kB / 1.46 GB, free: 8.133 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5787, allocations: 3.938 kB / 1.46 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.5788, allocations: 11.98 kB / 1.46 GB, free: 8.117 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.579, allocations: 132.6 kB / 1.46 GB, free: 7.945 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.5791, allocations: 34.55 kB / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.5792, allocations: 20.94 kB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.5793, allocations: 12 kB / 1.46 GB, free: 7.867 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5794, allocations: 38.48 kB / 1.46 GB, free: 7.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5794, allocations: 0 / 1.46 GB, free: 7.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002512/0.5796, allocations: 57.67 kB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5797, allocations: 51.41 kB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.5797, allocations: 105.8 kB / 1.46 GB, free: 7.582 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5798, allocations: 29.7 kB / 1.46 GB, free: 7.547 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.5798, allocations: 80.14 kB / 1.46 GB, free: 7.465 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.5798, allocations: 3.953 kB / 1.46 GB, free: 7.461 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.5799, allocations: 17.72 kB / 1.46 GB, free: 7.438 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.58, allocations: 314.8 kB / 1.461 GB, free: 7.121 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.5801, allocations: 4 kB / 1.461 GB, free: 7.117 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.5801, allocations: 8 kB / 1.461 GB, free: 7.109 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.5802, allocations: 28.84 kB / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5802, allocations: 0 / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001478/0.5803, allocations: 53.67 kB / 1.461 GB, free: 7.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5804, allocations: 7.938 kB / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5804, allocations: 3.938 kB / 1.461 GB, free: 7.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5804, allocations: 3.938 kB / 1.461 GB, free: 7.004 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.5805, allocations: 4 kB / 1.461 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5805, allocations: 0 / 1.461 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.5805, allocations: 7.953 kB / 1.461 GB, free: 6.992 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.5805, allocations: 0 / 1.461 GB, free: 6.992 MB / 1.154 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 9.609e-05/0.5806, allocations: 114.4 kB / 1.461 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.5806, allocations: 7.938 kB / 1.461 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5808, allocations: 53.38 kB / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5808, allocations: 0 / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5808, allocations: 3.984 kB / 1.461 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5808, allocations: 4 kB / 1.461 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.5809, allocations: 120.8 kB / 1.461 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5809, allocations: 0 / 1.461 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.581, allocations: 15.92 kB / 1.461 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.581, allocations: 3.938 kB / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.581, allocations: 0 / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.581, allocations: 0 / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.581, allocations: 0 / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5811, allocations: 77.11 kB / 1.461 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.5812, allocations: 16.44 kB / 1.461 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.5812, allocations: 4 kB / 1.461 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.83e-05/0.5812, allocations: 4 kB / 1.461 GB, free: 6.492 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5813, allocations: 7.984 kB / 1.461 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5813, allocations: 0 / 1.461 GB, free: 6.484 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.5813, allocations: 83.27 kB / 1.461 GB, free: 6.402 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5813, allocations: 0 / 1.461 GB, free: 6.402 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002013/0.5816, allocations: 11.94 kB / 1.461 GB, free: 6.391 MB / 1.154 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.0005499/0.5821, allocations: 0.6241 MB / 1.462 GB, free: 5.734 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.5823, allocations: 19.98 kB / 1.462 GB, free: 5.715 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5823, allocations: 0 / 1.462 GB, free: 5.715 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.5823, allocations: 11.94 kB / 1.462 GB, free: 5.703 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5826, allocations: 11.98 kB / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.583, allocations: 155.9 kB / 1.462 GB, free: 5.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5833, allocations: 0.6806 MB / 1.463 GB, free: 4.793 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.5834, allocations: 7.984 kB / 1.463 GB, free: 4.785 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.5834, allocations: 11.44 kB / 1.463 GB, free: 4.773 MB / 1.154 GB Notification: Performance of SimCode: time 8.32e-07/0.5834, allocations: 4 kB / 1.463 GB, free: 4.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.6231, allocations: 1.479 MB / 1.464 GB, free: 3.434 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.48, allocations: 4.406 kB / 1.464 GB, free: 3.434 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.60528572718613]