Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.007121/0.007121, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.001775/0.001775, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.89 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3078, allocations: 162.3 MB / 1.242 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002623/0.3105, allocations: 1.492 MB / 1.243 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3118, allocations: 0.8138 MB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.3118, allocations: 0 / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.3119, allocations: 3.938 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.3119, allocations: 11.92 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.3124, allocations: 127.4 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.3125, allocations: 55.83 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.3126, allocations: 11.98 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.3126, allocations: 23.92 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.3127, allocations: 23.86 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3127, allocations: 4 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.3131, allocations: 175.7 kB / 1.245 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3131, allocations: 11.98 kB / 1.245 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3131, allocations: 23.88 kB / 1.245 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.3134, allocations: 143.5 kB / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3134, allocations: 0 / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3134, allocations: 4 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3134, allocations: 0 / 1.245 GB, free: 6.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005666/0.314, allocations: 402.9 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.314, allocations: 8.031 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.3141, allocations: 38.75 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.3141, allocations: 12.83 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3143, allocations: 168.3 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3143, allocations: 384 / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.3143, allocations: 4.375 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3145, allocations: 74.2 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3146, allocations: 3.938 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3146, allocations: 4 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3146, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3149, allocations: 75.86 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.3153, allocations: 288.6 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3155, allocations: 54.55 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3157, allocations: 48.84 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.3158, allocations: 89.09 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3159, allocations: 38.5 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.3159, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005478/0.3164, allocations: 129.6 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3165, allocations: 55.41 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.3166, allocations: 113.8 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3166, allocations: 25.7 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3167, allocations: 92.09 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.3167, allocations: 7.938 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.3167, allocations: 21.72 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3169, allocations: 318.8 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.317, allocations: 35.95 kB / 1.247 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3172, allocations: 28.16 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3175, allocations: 80.8 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3175, allocations: 0 / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003252/0.3178, allocations: 97.58 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3178, allocations: 5.562 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3178, allocations: 4 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3179, allocations: 4 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.318, allocations: 15.97 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.318, allocations: 0 / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.3181, allocations: 15.98 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3181, allocations: 0 / 1.247 GB, free: 4.391 MB / 0.9981 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 7.82e-05/0.3182, allocations: 113.8 kB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.3182, allocations: 4 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.3186, allocations: 117.4 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3186, allocations: 0 / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3186, allocations: 4 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3186, allocations: 3.984 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.3188, allocations: 173.5 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3188, allocations: 3.938 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.3189, allocations: 19.97 kB / 1.247 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3189, allocations: 4 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.319, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.319, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.319, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.3194, allocations: 199.4 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.3194, allocations: 85.06 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3194, allocations: 3.984 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3196, allocations: 11.98 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3196, allocations: 8 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3196, allocations: 3.938 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.3197, allocations: 91.27 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3197, allocations: 0 / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002645/0.3199, allocations: 31.88 kB / 1.248 GB, free: 3.426 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 (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.0007924/0.3207, allocations: 0.7713 MB / 1.249 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.3211, allocations: 71.92 kB / 1.249 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3211, allocations: 0 / 1.249 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3213, allocations: 31.97 kB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3216, allocations: 12.34 kB / 1.249 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.3235, allocations: 1.437 MB / 1.25 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3238, allocations: 0.6846 MB / 1.251 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.3238, allocations: 7.984 kB / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.3239, allocations: 11.44 kB / 1.251 GB, free: 272 kB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3239, allocations: 4 kB / 1.251 GB, free: 268 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8734/1.197, allocations: 2.448 MB / 1.253 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.519, allocations: 7.234 kB / 1.253 GB, free: 14.38 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches