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.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.001023/0.001023, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001235/0.001235, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9606/0.9606, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.86/1.86, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.565e-06/2.565e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.791e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003336/0.003364, allocations: 1.506 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.00375, allocations: 124.3 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.003807, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.003845, allocations: 11.92 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.003907, allocations: 7.938 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.004262, allocations: 74.02 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.004393, allocations: 59.78 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.004526, allocations: 19.91 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004629, allocations: 27.98 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.004698, allocations: 19.91 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.004731, allocations: 8 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.004743, allocations: 8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.004772, allocations: 19.97 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.004804, allocations: 11.94 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.00494, allocations: 63.83 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004943, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.004945, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004949, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 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.0005259/0.005475, allocations: 294.2 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.005521, allocations: 8.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.005567, allocations: 46.73 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.005607, allocations: 4.938 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.005706, allocations: 109.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/0.005799, allocations: 51.97 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.005811, allocations: 8.312 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.006025, allocations: 111.8 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.006034, allocations: 192 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.006048, allocations: 384 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.006058, allocations: 7.938 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.006206, allocations: 47.95 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.006791, allocations: 271.8 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.006929, allocations: 54.47 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.87e-05/0.007008, allocations: 28.94 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.007019, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.007052, allocations: 46.55 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.007054, allocations: 4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003314/0.007385, allocations: 93.58 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.007427, allocations: 55.41 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.007513, allocations: 105.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.00753, allocations: 25.7 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.007582, allocations: 96.03 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.0076, allocations: 11.89 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.007643, allocations: 21.72 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.00774, allocations: 318.8 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.007825, allocations: 27.91 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.007903, allocations: 29.7 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.008047, allocations: 61.61 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.008052, allocations: 3.938 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001955/0.008248, allocations: 85.66 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008263, allocations: 4 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008269, allocations: 0 / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.008284, allocations: 4 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.008385, allocations: 15.92 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008391, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.008438, allocations: 11.94 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.008446, allocations: 4 kB / 1.004 GB, free: 9.301 MB / 0.9636 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 7.908e-05/0.008525, allocations: 121.8 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.008554, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.00858, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008583, allocations: 4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.008588, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00859, allocations: 3.938 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.008756, allocations: 144.7 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.008759, allocations: 4 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.008825, allocations: 11.98 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008828, allocations: 0 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.008835, allocations: 4 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.008837, allocations: 0 / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.008839, allocations: 0 / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.009069, allocations: 179.3 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.00908, allocations: 4.281 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.009094, allocations: 4 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.009203, allocations: 7.984 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.009249, allocations: 7.984 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.009261, allocations: 8.109 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.009311, allocations: 99.25 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009311, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002606/0.009572, allocations: 11.95 kB / 1.004 GB, free: 8.613 MB / 0.9636 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.0004734/0.01005, allocations: 0.7007 MB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.01025, allocations: 51.95 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01025, allocations: 4.062 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.01032, allocations: 23.97 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01064, allocations: 11.94 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.01198, allocations: 1.333 MB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.01205, allocations: 75.28 kB / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.01209, allocations: 4 kB / 1.006 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.01214, allocations: 20.48 kB / 1.006 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of SimCode: time 6.92e-07/0.01215, allocations: 0 / 1.006 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.02768, allocations: 2.476 MB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.885, allocations: 7.438 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.161376670002937]