Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.000857/0.000857, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0009171/0.0009171, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8827/0.8827, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6221 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TotalAirDryAir,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9809 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.212e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001713/0.001725, allocations: 1.506 MB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.001959, allocations: 135.5 kB / 0.9825 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.001995, allocations: 7.828 kB / 0.9825 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002021, allocations: 3.938 kB / 0.9826 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.002067, allocations: 3.984 kB / 0.9826 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.002315, allocations: 79.14 kB / 0.9826 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.002401, allocations: 59.83 kB / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.002489, allocations: 8 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.002553, allocations: 43.89 kB / 0.9827 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.002596, allocations: 11.98 kB / 0.9827 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.002618, allocations: 8 kB / 0.9828 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.002628, allocations: 8 kB / 0.9828 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.002646, allocations: 11.92 kB / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.00267, allocations: 19.97 kB / 0.9828 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.331e-05/0.002763, allocations: 63.78 kB / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002765, allocations: 0 / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002765, allocations: 0 / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002769, allocations: 0 / 0.9829 GB, free: 15.46 MB / 0.9011 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.0003527/0.003122, allocations: 294.2 kB / 0.9831 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.003157, allocations: 8.031 kB / 0.9831 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.003195, allocations: 42.75 kB / 0.9832 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.003224, allocations: 4.891 kB / 0.9832 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.003299, allocations: 121.6 kB / 0.9833 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.003358, allocations: 59.97 kB / 0.9834 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.003367, allocations: 4.375 kB / 0.9834 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.00351, allocations: 95.92 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003516, allocations: 192 / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.003527, allocations: 4.375 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003532, allocations: 7.875 kB / 0.9835 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.003629, allocations: 51.95 kB / 0.9835 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.004031, allocations: 271.9 kB / 0.9838 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.004115, allocations: 50.48 kB / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.00417, allocations: 28.94 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.004179, allocations: 4 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004197, allocations: 30.56 kB / 0.9839 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.004198, allocations: 0 / 0.9839 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002197/0.004418, allocations: 105.5 kB / 0.984 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.004445, allocations: 55.41 kB / 0.984 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.852e-05/0.004504, allocations: 105.8 kB / 0.9841 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.004516, allocations: 33.64 kB / 0.9842 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.004551, allocations: 84.14 kB / 0.9843 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.004564, allocations: 19.84 kB / 0.9843 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.004593, allocations: 21.7 kB / 0.9843 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.004664, allocations: 314.8 kB / 0.9846 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.00471, allocations: 19.98 kB / 0.9846 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.004759, allocations: 33.69 kB / 0.9846 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.004853, allocations: 69.78 kB / 0.9847 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.004856, allocations: 3.938 kB / 0.9847 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.004968, allocations: 89.55 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.004978, allocations: 4 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004982, allocations: 0 / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.004992, allocations: 0 / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.005049, allocations: 15.98 kB / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005053, allocations: 0 / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.005079, allocations: 8 kB / 0.9848 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005083, allocations: 4.031 kB / 0.9848 GB, free: 13.21 MB / 0.9011 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 5.459e-05/0.005138, allocations: 117.8 kB / 0.9849 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.005154, allocations: 11.95 kB / 0.985 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.005171, allocations: 4 kB / 0.985 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.005172, allocations: 0 / 0.985 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.005175, allocations: 4.125 kB / 0.985 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.005177, allocations: 0 / 0.985 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.005279, allocations: 140.7 kB / 0.9851 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.00528, allocations: 0 / 0.9851 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.005308, allocations: 15.92 kB / 0.9851 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.005308, allocations: 11.94 kB / 0.9851 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.005313, allocations: 0 / 0.9851 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005314, allocations: 0 / 0.9851 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.005314, allocations: 0 / 0.9851 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.005444, allocations: 179.4 kB / 0.9853 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.005449, allocations: 3.953 kB / 0.9853 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.005458, allocations: 4 kB / 0.9853 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.005519, allocations: 7.984 kB / 0.9853 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.005547, allocations: 7.984 kB / 0.9853 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.005553, allocations: 8 kB / 0.9853 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.00558, allocations: 83.28 kB / 0.9854 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.00558, allocations: 0 / 0.9854 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001528/0.005733, allocations: 15.94 kB / 0.9854 GB, free: 12.53 MB / 0.9011 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.0002759/0.006009, allocations: 0.7123 MB / 0.9861 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.006135, allocations: 51.95 kB / 0.9862 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006136, allocations: 0 / 0.9862 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.006179, allocations: 27.86 kB / 0.9862 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.006363, allocations: 7.984 kB / 0.9862 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.007235, allocations: 1.334 MB / 0.9875 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.007278, allocations: 67.33 kB / 0.9876 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.007304, allocations: 4 kB / 0.9876 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.007343, allocations: 24.48 kB / 0.9876 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.007343, allocations: 3.938 kB / 0.9876 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.02023, allocations: 2.483 MB / 0.99 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.981, allocations: 8.047 kB / 0.99 GB, free: 7.836 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.84793790616095]