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.001441/0.001441, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001689/0.001689, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.765e-06/2.765e-06, allocations: 0 / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.613e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003451/0.003488, allocations: 1.292 MB / 0.8788 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.004283, allocations: 272.9 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.004315, allocations: 0 / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.004346, allocations: 3.984 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.004423, allocations: 13.17 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.004829, allocations: 48.91 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.004908, allocations: 20.73 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.004947, allocations: 0 / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.00502, allocations: 12.52 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.005072, allocations: 7.938 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.005087, allocations: 1.094 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.005265, allocations: 51.94 kB / 0.8793 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.005283, allocations: 7.984 kB / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.005323, allocations: 4.812 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.005534, allocations: 59.81 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005538, allocations: 0.9062 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005539, allocations: 0 / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.005544, allocations: 7.625 kB / 0.8793 GB, free: 4.754 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.0005148/0.006059, allocations: 262.2 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.006103, allocations: 11.97 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.006385, allocations: 20.86 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.006503, allocations: 105.8 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.006515, allocations: 384 / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.006531, allocations: 8.359 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.006677, allocations: 63.95 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.006686, allocations: 0.8125 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.006701, allocations: 8.375 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.006706, allocations: 0.9688 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.006769, allocations: 19.92 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.006942, allocations: 110.8 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.008979, allocations: 262.5 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.009027, allocations: 16.86 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.009045, allocations: 4 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.00908, allocations: 34.56 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.009081, allocations: 0 / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.009291, allocations: 65.58 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.009342, allocations: 55.41 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.009436, allocations: 105.8 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.009461, allocations: 25.7 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.009509, allocations: 80.14 kB / 0.8805 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.00954, allocations: 7.891 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.009584, allocations: 17.72 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.009769, allocations: 314.8 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.009797, allocations: 11.98 kB / 0.8809 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.009817, allocations: 8 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.00988, allocations: 24.86 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009883, allocations: 128 / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.009991, allocations: 65.58 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01001, allocations: 4 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01001, allocations: 0 / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.01003, allocations: 4 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.01011, allocations: 7.984 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01012, allocations: 0 / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.01015, allocations: 7.875 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.01016, allocations: 0 / 0.881 GB, free: 2.875 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 0.0001005/0.01026, allocations: 113.8 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.01027, allocations: 4 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.01031, allocations: 11.53 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01031, allocations: 0 / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01032, allocations: 0 / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01032, allocations: 3.938 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01044, allocations: 105.3 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01044, allocations: 0 / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.0105, allocations: 11.94 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0105, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01051, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.01051, allocations: 4 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01051, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.01065, allocations: 89.38 kB / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.0107, allocations: 11.94 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01071, allocations: 4 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.01077, allocations: 0 / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.01078, allocations: 0 / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01079, allocations: 4 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.01084, allocations: 75.28 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01084, allocations: 0 / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002075/0.01105, allocations: 11.94 kB / 0.8814 GB, free: 2.371 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.000158/0.0112, allocations: 111.3 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01131, allocations: 20 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01131, allocations: 0 / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.01134, allocations: 15.98 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01164, allocations: 15.92 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.01204, allocations: 113.6 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.074e-05/0.01211, allocations: 67.2 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.01216, allocations: 4 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.0122, allocations: 8.5 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.0122, allocations: 3.938 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of Templates: time 0.00325/0.01545, allocations: 0.6046 MB / 0.8824 GB, free: 1.379 MB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 8.09341431898065]