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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006911/0.006911, allocations: 106.2 kB / 15.74 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 195.9 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.84 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002548/0.3108, allocations: 1.486 MB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.3111, allocations: 127.6 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.3112, allocations: 4 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.3112, allocations: 3.938 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3113, allocations: 11.88 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3116, allocations: 67.88 kB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3117, allocations: 59.78 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.3118, allocations: 19.98 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3119, allocations: 27.92 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.312, allocations: 27.83 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.312, allocations: 12 kB / 1.244 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.312, allocations: 4 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.312, allocations: 19.92 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3121, allocations: 23.86 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3122, allocations: 51.8 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3122, allocations: 4 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3122, allocations: 0 / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3122, allocations: 0 / 1.244 GB, free: 7.898 MB / 0.9981 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.0005353/0.3128, allocations: 375.3 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3128, allocations: 8.031 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.3129, allocations: 30.75 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3129, allocations: 8.891 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.313, allocations: 168.3 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.3131, allocations: 38.25 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3131, allocations: 4.312 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3134, allocations: 77.97 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3134, allocations: 7.938 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3134, allocations: 0 / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3134, allocations: 4 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.3136, allocations: 43.95 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.3142, allocations: 320.7 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3144, allocations: 50.64 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3145, allocations: 36.83 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.3145, allocations: 0 / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3145, allocations: 30.56 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3145, allocations: 0 / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.3149, allocations: 105.5 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.315, allocations: 55.39 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.3151, allocations: 109.8 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3151, allocations: 25.7 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.3152, allocations: 88.08 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.3152, allocations: 15.91 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3152, allocations: 21.7 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3154, allocations: 318.8 kB / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.3155, allocations: 19.98 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3156, allocations: 37.69 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.3158, allocations: 61.62 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3158, allocations: 0 / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002322/0.316, allocations: 89.53 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.316, allocations: 4 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.316, allocations: 4 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3161, allocations: 0 / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.3162, allocations: 15.92 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3162, allocations: 128 / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.3162, allocations: 20.03 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3162, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 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 9.036e-05/0.3163, allocations: 113.8 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3164, allocations: 3.984 kB / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.3164, allocations: 7.906 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3164, allocations: 4 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3164, allocations: 0 / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3164, allocations: 0 / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3166, allocations: 185.4 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3166, allocations: 4 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.3167, allocations: 19.98 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3167, allocations: 0 / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3167, allocations: 0 / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3168, allocations: 0 / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3168, allocations: 0 / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.317, allocations: 179.4 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3171, allocations: 81.06 kB / 1.246 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3171, allocations: 4 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3172, allocations: 11.98 kB / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.3173, allocations: 4.266 kB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3173, allocations: 4 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.3173, allocations: 87.27 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3174, allocations: 0 / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002246/0.3176, allocations: 8 kB / 1.247 GB, free: 4.695 MB / 0.9981 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.0005767/0.3182, allocations: 0.7129 MB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3184, allocations: 51.95 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3184, allocations: 4.062 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.3185, allocations: 23.97 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3188, allocations: 15.09 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3203, allocations: 1.341 MB / 1.249 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3206, allocations: 0.6846 MB / 1.249 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.3207, allocations: 7.938 kB / 1.249 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.3207, allocations: 11.44 kB / 1.249 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3207, allocations: 0 / 1.249 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/0.4401, allocations: 1.775 MB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.252, allocations: 17.23 kB / 1.251 GB, free: 36 kB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches