Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001343/0.001343, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001488/0.001488, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.297/3.297, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_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.002055/0.002055, allocations: 75.5 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002952/0.3515, allocations: 1.516 MB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.5248, allocations: 135.3 MB / 1.454 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.5249, allocations: 0 / 1.454 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.525, allocations: 3.938 kB / 1.454 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.761e-05/0.5251, allocations: 15.86 kB / 1.454 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.5255, allocations: 71.86 kB / 1.454 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.5256, allocations: 55.78 kB / 1.454 GB, free: 9.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5257, allocations: 16 kB / 1.455 GB, free: 9.914 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.5258, allocations: 19.92 kB / 1.455 GB, free: 9.895 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.5259, allocations: 23.91 kB / 1.455 GB, free: 9.871 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.5259, allocations: 7.938 kB / 1.455 GB, free: 9.863 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.526, allocations: 23.94 kB / 1.455 GB, free: 9.84 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.526, allocations: 19.92 kB / 1.455 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.5261, allocations: 23.84 kB / 1.455 GB, free: 9.797 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.5263, allocations: 51.83 kB / 1.455 GB, free: 9.746 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5263, allocations: 0 / 1.455 GB, free: 9.746 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5263, allocations: 0 / 1.455 GB, free: 9.746 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.5263, allocations: 4 kB / 1.455 GB, free: 9.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006705/0.5269, allocations: 379.2 kB / 1.455 GB, free: 9.32 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.527, allocations: 11.98 kB / 1.455 GB, free: 9.309 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.527, allocations: 38.75 kB / 1.455 GB, free: 9.262 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.5271, allocations: 8.891 kB / 1.455 GB, free: 9.254 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.5272, allocations: 176.3 kB / 1.455 GB, free: 9.043 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5273, allocations: 384 / 1.455 GB, free: 9.043 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.5273, allocations: 4.375 kB / 1.455 GB, free: 9.039 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.5276, allocations: 78.2 kB / 1.455 GB, free: 8.957 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5276, allocations: 3.938 kB / 1.455 GB, free: 8.953 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5276, allocations: 3.938 kB / 1.455 GB, free: 8.949 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5276, allocations: 0 / 1.455 GB, free: 8.949 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.5279, allocations: 71.92 kB / 1.455 GB, free: 8.879 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.5283, allocations: 288.7 kB / 1.456 GB, free: 8.547 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.5286, allocations: 58.53 kB / 1.456 GB, free: 8.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.5287, allocations: 32.92 kB / 1.456 GB, free: 8.445 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.5289, allocations: 97.08 kB / 1.456 GB, free: 8.332 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.529, allocations: 34.56 kB / 1.456 GB, free: 8.289 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.529, allocations: 0 / 1.456 GB, free: 8.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0005869/0.5295, allocations: 133.5 kB / 1.456 GB, free: 8.152 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5296, allocations: 51.41 kB / 1.456 GB, free: 8.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5297, allocations: 118.2 kB / 1.456 GB, free: 7.965 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5297, allocations: 25.7 kB / 1.456 GB, free: 7.934 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.5298, allocations: 88.12 kB / 1.456 GB, free: 7.844 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.5298, allocations: 15.91 kB / 1.456 GB, free: 7.828 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.5298, allocations: 13.72 kB / 1.456 GB, free: 7.809 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.53, allocations: 322.8 kB / 1.457 GB, free: 7.484 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5301, allocations: 31.97 kB / 1.457 GB, free: 7.453 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.5303, allocations: 35.95 kB / 1.457 GB, free: 7.418 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.5306, allocations: 60.8 kB / 1.457 GB, free: 7.355 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5306, allocations: 4 kB / 1.457 GB, free: 7.352 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003688/0.5309, allocations: 109.5 kB / 1.457 GB, free: 7.238 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.531, allocations: 4 kB / 1.457 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.531, allocations: 0 / 1.457 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.531, allocations: 0 / 1.457 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.5311, allocations: 15.98 kB / 1.457 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5311, allocations: 0 / 1.457 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.5312, allocations: 19.94 kB / 1.457 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5312, allocations: 0 / 1.457 GB, free: 7.199 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.391e-05/0.5313, allocations: 121.8 kB / 1.457 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.5313, allocations: 0 / 1.457 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.5317, allocations: 109.5 kB / 1.457 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5317, allocations: 4 kB / 1.457 GB, free: 6.941 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5317, allocations: 3.938 kB / 1.457 GB, free: 6.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5318, allocations: 4 kB / 1.457 GB, free: 6.934 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.532, allocations: 173.6 kB / 1.457 GB, free: 6.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.532, allocations: 0 / 1.457 GB, free: 6.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.5321, allocations: 11.98 kB / 1.457 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5321, allocations: 4 kB / 1.457 GB, free: 6.699 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.5321, allocations: 0 / 1.457 GB, free: 6.699 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5321, allocations: 4 kB / 1.457 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5321, allocations: 0 / 1.457 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.5325, allocations: 207.3 kB / 1.458 GB, free: 6.477 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.5325, allocations: 89.42 kB / 1.458 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5326, allocations: 0 / 1.458 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5327, allocations: 11.98 kB / 1.458 GB, free: 6.359 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.5327, allocations: 7.984 kB / 1.458 GB, free: 6.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5327, allocations: 0 / 1.458 GB, free: 6.352 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.32e-05/0.5328, allocations: 103.3 kB / 1.458 GB, free: 6.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5328, allocations: 0 / 1.458 GB, free: 6.25 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000246/0.5331, allocations: 12 kB / 1.458 GB, free: 6.238 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.0008034/0.5339, allocations: 0.7397 MB / 1.458 GB, free: 5.473 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.5342, allocations: 71.86 kB / 1.459 GB, free: 5.402 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5342, allocations: 0 / 1.459 GB, free: 5.402 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5344, allocations: 39.95 kB / 1.459 GB, free: 5.363 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.5347, allocations: 11.98 kB / 1.459 GB, free: 5.352 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5368, allocations: 1.436 MB / 1.46 GB, free: 3.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.5371, allocations: 0.6807 MB / 1.461 GB, free: 3.133 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.5372, allocations: 0 / 1.461 GB, free: 3.133 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.5372, allocations: 15.44 kB / 1.461 GB, free: 3.117 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/0.5372, allocations: 7.938 kB / 1.461 GB, free: 3.109 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.5644, allocations: 2.077 MB / 1.463 GB, free: 1.137 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.675, allocations: 10.11 kB / 1.463 GB, free: 1.129 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.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: 15.467508574947715]