Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001229/0.001229, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001456/0.001456, allocations: 168.9 kB / 24.86 MB, free: 9.27 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.778/1.778, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.483e-05, allocations: 5.75 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002158/0.002183, allocations: 1.323 MB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.003166, allocations: 0.8301 MB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.003192, allocations: 0 / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.003211, allocations: 4.594 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.003265, allocations: 11.38 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.003688, allocations: 127.3 kB / 0.7905 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.437e-05/0.003762, allocations: 27.86 kB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.299e-05/0.003795, allocations: 4 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.003847, allocations: 19.97 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.0039, allocations: 4 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003913, allocations: 3.938 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.004124, allocations: 160.5 kB / 0.7908 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.004141, allocations: 4 kB / 0.7908 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.004157, allocations: 12.52 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004341, allocations: 137.2 kB / 0.7909 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004344, allocations: 4 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004345, allocations: 0 / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.004349, allocations: 0 / 0.7909 GB, free: 9.555 MB / 0.7448 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.0003048/0.004654, allocations: 401.7 kB / 0.7913 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004688, allocations: 8.031 kB / 0.7913 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.004725, allocations: 4.938 kB / 0.7913 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.942e-05/0.004794, allocations: 104.6 kB / 0.7914 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.004852, allocations: 61.56 kB / 0.7915 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.00486, allocations: 4.375 kB / 0.7915 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.004948, allocations: 72.66 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.004952, allocations: 192 / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004959, allocations: 1 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004964, allocations: 8.125 kB / 0.7915 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.004985, allocations: 13.94 kB / 0.7916 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.987e-05/0.005085, allocations: 101.2 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.005204, allocations: 51.08 kB / 0.7917 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.00522, allocations: 11.69 kB / 0.7917 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.005342, allocations: 26.59 kB / 0.7917 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005363, allocations: 33.39 kB / 0.7918 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.005364, allocations: 4 kB / 0.7918 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001086/0.005472, allocations: 58.2 kB / 0.7918 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.005497, allocations: 55.39 kB / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.005556, allocations: 155.1 kB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.005567, allocations: 25.7 kB / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.005598, allocations: 126.9 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.005624, allocations: 16.64 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.00566, allocations: 23.36 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005773, allocations: 0.489 MB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.005784, allocations: 1.281 kB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.005793, allocations: 4 kB / 0.7927 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.00582, allocations: 23.67 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005822, allocations: 0.625 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.486e-05/0.005877, allocations: 45.64 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.005888, allocations: 9.297 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005892, allocations: 0 / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.005898, allocations: 0 / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.005932, allocations: 12.91 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-06/0.005934, allocations: 3.938 kB / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.00595, allocations: 7.875 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.005953, allocations: 0.8438 kB / 0.7928 GB, free: 7.414 MB / 0.7448 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 5.641e-05/0.00601, allocations: 158.8 kB / 0.793 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.006018, allocations: 4 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.006094, allocations: 61.3 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006095, allocations: 0 / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006097, allocations: 0 / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006101, allocations: 4 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.831e-05/0.006169, allocations: 112.4 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00617, allocations: 4 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.006189, allocations: 4 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.00619, allocations: 0 / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.006193, allocations: 0 / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006194, allocations: 0 / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006195, allocations: 4 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.79e-05/0.006263, allocations: 89.86 kB / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.006291, allocations: 11.92 kB / 0.7932 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.006298, allocations: 0 / 0.7932 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.006316, allocations: 4 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.00634, allocations: 4.484 kB / 0.7932 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.006344, allocations: 4 kB / 0.7932 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.006375, allocations: 119.8 kB / 0.7934 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006375, allocations: 1.375 kB / 0.7934 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001576/0.006533, allocations: 35.88 kB / 0.7934 GB, free: 6.742 MB / 0.7448 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.0001707/0.006703, allocations: 145.1 kB / 0.7935 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.006767, allocations: 24.77 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006768, allocations: 0 / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.006786, allocations: 24.27 kB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.006914, allocations: 18.53 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.00729, allocations: 131.3 kB / 0.7937 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.685e-05/0.007317, allocations: 56.39 kB / 0.7938 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.007344, allocations: 10.2 kB / 0.7938 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.007396, allocations: 78.19 kB / 0.7939 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.007396, allocations: 1.094 kB / 0.7939 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.002626/0.01002, allocations: 1.308 MB / 0.7951 GB, free: 4.91 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112444169819355]