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.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.001026/0.001026, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.001286/0.001286, allocations: 165 kB / 24.06 MB, free: 464 kB / 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.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.04/2.04, allocations: 429.5 MB / 0.6743 GB, free: 3.938 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.924e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001678/0.001697, allocations: 1.336 MB / 0.8807 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002795, allocations: 0.8283 MB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.002826, allocations: 0 / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.002853, allocations: 0 / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.128e-05/0.002915, allocations: 7.922 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.003436, allocations: 131.9 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.003509, allocations: 27.86 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.003542, allocations: 5.484 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.003592, allocations: 15.98 kB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.003647, allocations: 11.98 kB / 0.8817 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003659, allocations: 1.531 kB / 0.8817 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.003868, allocations: 159.7 kB / 0.8819 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.003892, allocations: 7.984 kB / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003914, allocations: 11.92 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.004092, allocations: 139.6 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004094, allocations: 0 / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.6e-07/0.004094, allocations: 4 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004098, allocations: 0 / 0.882 GB, free: 3.367 MB / 0.8386 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.0003183/0.004416, allocations: 396.2 kB / 0.8824 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.004449, allocations: 8.031 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.004477, allocations: 4.938 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.238e-05/0.00455, allocations: 108.6 kB / 0.8825 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.004605, allocations: 55.97 kB / 0.8826 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.004614, allocations: 8.375 kB / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.0047, allocations: 84.62 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004705, allocations: 192 / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004712, allocations: 4.312 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.004718, allocations: 8.125 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.004738, allocations: 4 kB / 0.8827 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.874e-05/0.004836, allocations: 101.2 kB / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.004948, allocations: 43.09 kB / 0.8828 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.004967, allocations: 19.77 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.005095, allocations: 23.98 kB / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.005115, allocations: 37.38 kB / 0.8829 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005116, allocations: 0 / 0.8829 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001057/0.005222, allocations: 53.62 kB / 0.8829 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.005248, allocations: 55.41 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.005302, allocations: 153.9 kB / 0.8831 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.005311, allocations: 25.7 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.005339, allocations: 130.9 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.005362, allocations: 11.91 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.005388, allocations: 27.36 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005494, allocations: 0.4883 MB / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.005504, allocations: 0 / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.005515, allocations: 7.984 kB / 0.8838 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.005543, allocations: 23.62 kB / 0.8838 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005545, allocations: 0 / 0.8838 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.668e-05/0.005602, allocations: 45.69 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005613, allocations: 6.5 kB / 0.8839 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005617, allocations: 0 / 0.8839 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.005625, allocations: 0 / 0.8839 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.005659, allocations: 12.52 kB / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.005663, allocations: 0 / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.005682, allocations: 15.83 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005686, allocations: 3.938 kB / 0.8839 GB, free: 1.211 MB / 0.8386 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.137e-05/0.005757, allocations: 164.5 kB / 0.8841 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.005765, allocations: 3.938 kB / 0.8841 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.904e-05/0.005844, allocations: 57.36 kB / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005845, allocations: 0 / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.005847, allocations: 0 / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005849, allocations: 0 / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.999e-05/0.005919, allocations: 109.2 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00592, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.005938, allocations: 8 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.005939, allocations: 0 / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.005942, allocations: 0 / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005944, allocations: 4 kB / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005946, allocations: 4 kB / 0.8842 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.972e-05/0.006016, allocations: 84.31 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.006045, allocations: 11.94 kB / 0.8843 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.006053, allocations: 4 kB / 0.8843 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.006071, allocations: 4 kB / 0.8843 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.006101, allocations: 7.984 kB / 0.8843 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006105, allocations: 0 / 0.8843 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000207/0.006312, allocations: 123.2 kB / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006312, allocations: 0 / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001581/0.00647, allocations: 35.88 kB / 0.8845 GB, free: 0.5312 MB / 0.8386 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.0001467/0.006617, allocations: 143 kB / 0.8846 GB, free: 392 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.531e-05/0.006682, allocations: 27.61 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.006683, allocations: 0 / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.006699, allocations: 19.67 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.00683, allocations: 17.31 kB / 0.8847 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.007223, allocations: 130.3 kB / 0.8848 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.00725, allocations: 63.23 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.007276, allocations: 7.984 kB / 0.8849 GB, free: 68 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.007336, allocations: 78.2 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of SimCode: time 4.3e-07/0.007337, allocations: 0 / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.002705/0.01004, allocations: 1.303 MB / 0.8862 GB, free: 14.69 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] 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","",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.346375547349453]