Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001173/0.001173, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001094/0.001094, allocations: 169 kB / 24.06 MB, free: 456 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 0.9247/0.9247, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.071/2.071, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.21e-05, allocations: 5.391 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001482/0.001494, allocations: 1.319 MB / 0.8807 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.001829, allocations: 292.5 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.001841, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.001852, allocations: 8.031 kB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.343e-05/0.001876, allocations: 8.75 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.002027, allocations: 49.09 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.002066, allocations: 19.86 kB / 0.881 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 1.938e-05/0.002086, allocations: 1.344 kB / 0.881 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.002121, allocations: 15.98 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.002148, allocations: 7.984 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.002155, allocations: 0 / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.002224, allocations: 53.45 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.002234, allocations: 3.984 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.837e-06/0.002243, allocations: 4 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.002324, allocations: 63.75 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.002325, allocations: 1.406 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002326, allocations: 0 / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.726e-06/0.002328, allocations: 0 / 0.8812 GB, free: 4.188 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.0001891/0.002518, allocations: 367.7 kB / 0.8815 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.031e-05/0.002538, allocations: 8.031 kB / 0.8815 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.002656, allocations: 24.86 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.704e-05/0.002703, allocations: 108.6 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.00271, allocations: 4.359 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.002716, allocations: 8.375 kB / 0.8817 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.004e-05/0.002766, allocations: 59.95 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-06/0.00277, allocations: 4.188 kB / 0.8817 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.002775, allocations: 4.375 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-06/0.002778, allocations: 384 / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.002796, allocations: 15.88 kB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.966e-05/0.002866, allocations: 101.2 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.003685, allocations: 274.9 kB / 0.8821 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.003702, allocations: 15.69 kB / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.003707, allocations: 0 / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.003724, allocations: 33.39 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.003724, allocations: 4 kB / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 6.817e-05/0.003792, allocations: 57.58 kB / 0.8822 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.00381, allocations: 55.41 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.003855, allocations: 153.9 kB / 0.8824 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.003864, allocations: 25.7 kB / 0.8825 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.00389, allocations: 135 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.003909, allocations: 19.84 kB / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.003935, allocations: 19.38 kB / 0.8826 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.004078, allocations: 500 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.004088, allocations: 7.984 kB / 0.8831 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.004095, allocations: 4 kB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.004117, allocations: 23.69 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.004118, allocations: 0 / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.344e-05/0.004161, allocations: 53.62 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.00417, allocations: 4 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.004172, allocations: 0 / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.004176, allocations: 4 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.0042, allocations: 4 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.004204, allocations: 7.984 kB / 0.8832 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.004218, allocations: 4 kB / 0.8832 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-06/0.00422, allocations: 3.938 kB / 0.8832 GB, free: 1.914 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 5.129e-05/0.004272, allocations: 156.6 kB / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.004278, allocations: 8 kB / 0.8834 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.423e-05/0.004292, allocations: 7.531 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.004294, allocations: 0 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004295, allocations: 0 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004297, allocations: 8 kB / 0.8834 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.455e-05/0.004352, allocations: 97.2 kB / 0.8835 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.004354, allocations: 3.984 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.004382, allocations: 7.938 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.004383, allocations: 0 / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.004389, allocations: 4 kB / 0.8835 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00439, allocations: 0 / 0.8835 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.004392, allocations: 4 kB / 0.8835 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.004476, allocations: 84.66 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.004502, allocations: 8 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.004509, allocations: 0 / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.004535, allocations: 8.031 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.004544, allocations: 3.984 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.004548, allocations: 4 kB / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.004576, allocations: 119.2 kB / 0.8837 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.004576, allocations: 0 / 0.8837 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001115/0.004688, allocations: 11.94 kB / 0.8837 GB, free: 1.324 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 5.344e-05/0.004741, allocations: 99.19 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.652e-05/0.004788, allocations: 27.67 kB / 0.8838 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.004789, allocations: 4.094 kB / 0.8838 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.004802, allocations: 19.67 kB / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.004923, allocations: 11.92 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.005211, allocations: 142.4 kB / 0.884 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.346e-05/0.005234, allocations: 51.36 kB / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.00526, allocations: 8 kB / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.005322, allocations: 78.19 kB / 0.8841 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.005323, allocations: 0 / 0.8841 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of Templates: time 0.001726/0.007049, allocations: 0.6843 MB / 0.8848 GB, free: 160 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.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.239812429063022]