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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002146/1.024, allocations: 1.267 MB / 1.305 GB, free: 31.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.026, allocations: 0.8348 MB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/1.026, allocations: 3.938 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/1.026, allocations: 3.938 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/1.026, allocations: 6.969 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/1.026, allocations: 131.9 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/1.026, allocations: 27.09 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/1.026, allocations: 6.375 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/1.026, allocations: 5.906 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/1.026, allocations: 16.78 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/1.026, allocations: 0 / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/1.027, allocations: 170.9 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/1.027, allocations: 4 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/1.027, allocations: 13.05 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/1.027, allocations: 123.9 kB / 1.307 GB, free: 30.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.027, allocations: 4 kB / 1.307 GB, free: 30.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/1.027, allocations: 0 / 1.307 GB, free: 30.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.027, allocations: 0 / 1.307 GB, free: 30.52 MB / 1.061 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.0003444/1.027, allocations: 366 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.027, allocations: 9.375 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.371e-05/1.027, allocations: 34.73 kB / 1.307 GB, free: 30.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/1.027, allocations: 3.781 kB / 1.307 GB, free: 30.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/1.027, allocations: 167.3 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/1.027, allocations: 36.61 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.027, allocations: 384 / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/1.027, allocations: 50.31 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.027, allocations: 0 / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/1.028, allocations: 0 / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.028, allocations: 2.938 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/1.028, allocations: 19.55 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/1.028, allocations: 154.9 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/1.028, allocations: 42.92 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/1.028, allocations: 25.78 kB / 1.307 GB, free: 29.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/1.028, allocations: 177.3 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/1.028, allocations: 38.5 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/1.028, allocations: 0 / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002251/1.028, allocations: 74.14 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.028, allocations: 53.84 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/1.029, allocations: 96.36 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/1.029, allocations: 25.7 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.246e-05/1.029, allocations: 82.73 kB / 1.308 GB, free: 29.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/1.029, allocations: 15.19 kB / 1.308 GB, free: 29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/1.029, allocations: 14.94 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.235e-05/1.029, allocations: 318.8 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/1.029, allocations: 17.09 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/1.029, allocations: 12.95 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/1.029, allocations: 27.17 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.029, allocations: 0 / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/1.029, allocations: 53.88 kB / 1.308 GB, free: 28.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.029, allocations: 9.906 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.029, allocations: 4 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.029, allocations: 4.031 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/1.029, allocations: 12.39 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.029, allocations: 3.938 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/1.029, allocations: 3.938 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/1.029, allocations: 2.688 kB / 1.308 GB, free: 28.58 MB / 1.061 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 4.493e-05/1.029, allocations: 113.2 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/1.029, allocations: 6.938 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/1.029, allocations: 73.17 kB / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.029, allocations: 2.844 kB / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.029, allocations: 0 / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/1.029, allocations: 0 / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.99e-05/1.029, allocations: 162.1 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.029, allocations: 0 / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/1.029, allocations: 5.406 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.029, allocations: 3.938 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.029, allocations: 6.75 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.029, allocations: 0 / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.029, allocations: 3.938 kB / 1.309 GB, free: 28.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.03, allocations: 83.22 kB / 1.309 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.03, allocations: 86.95 kB / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/1.03, allocations: 0 / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/1.03, allocations: 6.625 kB / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/1.03, allocations: 6.25 kB / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/1.03, allocations: 0 / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.842e-05/1.03, allocations: 81.88 kB / 1.309 GB, free: 27.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.03, allocations: 0 / 1.309 GB, free: 27.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002277/1.03, allocations: 35.59 kB / 1.309 GB, free: 27.93 MB / 1.061 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.0004072/1.03, allocations: 0.6651 MB / 1.31 GB, free: 27.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.03, allocations: 28.02 kB / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.03, allocations: 0 / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/1.03, allocations: 19.94 kB / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/1.031, allocations: 11.41 kB / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/1.031, allocations: 167.5 kB / 1.31 GB, free: 27.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/1.031, allocations: 0.6774 MB / 1.311 GB, free: 26.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.834e-05/1.031, allocations: 14.89 kB / 1.311 GB, free: 26.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/1.031, allocations: 9.969 kB / 1.311 GB, free: 26.41 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.031, allocations: 0 / 1.311 GB, free: 26.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.06, allocations: 1.957 MB / 1.313 GB, free: 26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/9.329, allocations: 10.17 kB / 1.313 GB, free: 25.99 MB / 1.061 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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: 15.647785047069192]