Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.242/3.242, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 66.17 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 173.9 MB / 1.304 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002962/0.3772, allocations: 1.513 MB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.3776, allocations: 127.6 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.3776, allocations: 4 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.3777, allocations: 3.938 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.3777, allocations: 7.938 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.378, allocations: 67.83 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3782, allocations: 55.89 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3783, allocations: 12.28 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.3783, allocations: 27.92 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.3784, allocations: 27.83 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3784, allocations: 4 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.3784, allocations: 8 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.3785, allocations: 11.98 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.3785, allocations: 31.86 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3787, allocations: 55.73 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3787, allocations: 0 / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3787, allocations: 3.938 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3787, allocations: 0 / 1.306 GB, free: 15.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005781/0.3793, allocations: 375.2 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3793, allocations: 12.62 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3793, allocations: 30.75 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3794, allocations: 8.938 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3796, allocations: 172.3 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.3796, allocations: 38.19 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3797, allocations: 4.375 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3799, allocations: 77.97 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3799, allocations: 0 / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3799, allocations: 0 / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3799, allocations: 0 / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.3801, allocations: 55.89 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.3807, allocations: 316.7 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3809, allocations: 46.53 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.381, allocations: 40.88 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.381, allocations: 0 / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3811, allocations: 34.56 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3811, allocations: 0 / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003473/0.3814, allocations: 97.62 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3815, allocations: 55.41 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3816, allocations: 109.8 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3816, allocations: 25.7 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.3817, allocations: 92.09 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.3817, allocations: 15.84 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3817, allocations: 17.7 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3819, allocations: 322.7 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.382, allocations: 27.92 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.3821, allocations: 37.69 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.3822, allocations: 57.67 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3822, allocations: 0 / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002181/0.3825, allocations: 85.59 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3825, allocations: 4 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3825, allocations: 4 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3825, allocations: 0 / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.3826, allocations: 11.98 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.3826, allocations: 4 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.3827, allocations: 7.953 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3827, allocations: 4 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 0.0001047/0.3828, allocations: 125.8 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3828, allocations: 0 / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.3828, allocations: 15.84 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3828, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3828, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3828, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.383, allocations: 173.6 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.383, allocations: 4 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.3831, allocations: 11.98 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3831, allocations: 3.938 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3831, allocations: 8 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3831, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3831, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3834, allocations: 175.4 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3835, allocations: 77.11 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3835, allocations: 0 / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3836, allocations: 19.98 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.3836, allocations: 4.391 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3837, allocations: 11.94 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.3837, allocations: 87.27 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3837, allocations: 0 / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002212/0.3839, allocations: 8 kB / 1.309 GB, free: 12.4 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 (4): * Single equations (assignments): 4 * 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.0006358/0.3846, allocations: 0.7124 MB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3848, allocations: 51.89 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3848, allocations: 3.938 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.3849, allocations: 27.97 kB / 1.309 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3852, allocations: 13.44 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3868, allocations: 1.329 MB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3872, allocations: 0.6846 MB / 1.311 GB, free: 9.441 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3873, allocations: 4 kB / 1.311 GB, free: 9.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.3873, allocations: 11.44 kB / 1.311 GB, free: 9.426 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.3873, allocations: 4 kB / 1.311 GB, free: 9.422 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4101, allocations: 1.795 MB / 1.313 GB, free: 7.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.6, allocations: 18.16 kB / 1.313 GB, free: 7.73 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.202365970239043]