Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.006901/0.006901, allocations: 102 kB / 15.73 MB, free: 6.441 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.001912/0.001912, allocations: 195.8 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00218/0.3103, allocations: 1.273 MB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3116, allocations: 0.8139 MB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.3116, allocations: 0 / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3116, allocations: 3.938 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.3117, allocations: 7.922 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.3122, allocations: 131.5 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.3122, allocations: 27.81 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.3123, allocations: 3.984 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.3123, allocations: 12 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.3124, allocations: 19.91 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3124, allocations: 0 / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3127, allocations: 163.8 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.3128, allocations: 7.984 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.3128, allocations: 7.938 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.313, allocations: 115.7 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.313, allocations: 3.938 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.313, allocations: 3.938 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.313, allocations: 0 / 1.244 GB, free: 7.215 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000445/0.3135, allocations: 371.1 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3135, allocations: 8.031 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3136, allocations: 34.75 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.3136, allocations: 4.938 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3137, allocations: 172.3 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.3138, allocations: 30.27 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3138, allocations: 384 / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3139, allocations: 53.94 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.314, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.314, allocations: 4 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.314, allocations: 0 / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.3141, allocations: 23.97 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.3143, allocations: 153.7 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3144, allocations: 46.61 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.3145, allocations: 16.94 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.3148, allocations: 182.2 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3148, allocations: 34.5 kB / 1.245 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3148, allocations: 3.938 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.3151, allocations: 65.67 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3151, allocations: 55.41 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.3152, allocations: 101.8 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3152, allocations: 29.7 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.3152, allocations: 80.14 kB / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3153, allocations: 7.906 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3153, allocations: 17.72 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3154, allocations: 314.8 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.3155, allocations: 15.98 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.3155, allocations: 8 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.615e-05/0.3156, allocations: 36.78 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3157, allocations: 4 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.3158, allocations: 53.67 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3158, allocations: 7.938 kB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3158, allocations: 0 / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3158, allocations: 4 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.3159, allocations: 4 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3159, allocations: 0 / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.3159, allocations: 19.88 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.316, allocations: 7.984 kB / 1.246 GB, free: 5.004 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 (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 prepare postOptimizeDAE: time 7.2e-05/0.316, allocations: 105.8 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3161, allocations: 11.88 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.3162, allocations: 65.11 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3162, allocations: 4 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3163, allocations: 0 / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3163, allocations: 0.5625 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3164, allocations: 157.7 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3164, allocations: 0 / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.3164, allocations: 11.98 kB / 1.247 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3164, allocations: 3.938 kB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3165, allocations: 4 kB / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3165, allocations: 0 / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3165, allocations: 0 / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3166, allocations: 85.05 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.3167, allocations: 96.98 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.3167, allocations: 0 / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.3168, allocations: 0 / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3168, allocations: 7.984 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3168, allocations: 0 / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.3169, allocations: 83.28 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3169, allocations: 0 / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000212/0.3171, allocations: 35.86 kB / 1.247 GB, free: 4.238 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.0005492/0.3176, allocations: 0.6673 MB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3178, allocations: 23.98 kB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3178, allocations: 4 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.3179, allocations: 15.98 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.318, allocations: 10.19 kB / 1.248 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3184, allocations: 172.6 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3187, allocations: 0.6807 MB / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.3188, allocations: 8 kB / 1.248 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.3188, allocations: 11.44 kB / 1.248 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3188, allocations: 0 / 1.248 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.3398, allocations: 1.938 MB / 1.25 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.975, allocations: 9.344 kB / 1.25 GB, free: 0.7227 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches