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.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.001291/0.001291, allocations: 110.5 kB / 17.08 MB, free: 5.984 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.001295/0.001295, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.99/2.99, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 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: 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 0.002017/0.002017, allocations: 67.91 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002353/1.078, allocations: 1.267 MB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005724/1.078, allocations: 291.2 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/1.078, allocations: 0.8125 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/1.079, allocations: 4.578 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/1.079, allocations: 5.266 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/1.079, allocations: 52.11 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/1.079, allocations: 18.28 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/1.079, allocations: 6.172 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/1.079, allocations: 4.844 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/1.079, allocations: 9.422 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/1.079, allocations: 3.75 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/1.079, allocations: 53.78 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/1.079, allocations: 5.453 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/1.079, allocations: 12.58 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/1.079, allocations: 43.98 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.079, allocations: 0 / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/1.079, allocations: 0.7188 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.079, allocations: 0 / 1.264 GB, free: 6.84 MB / 0.9981 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.0003379/1.08, allocations: 339.5 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.08, allocations: 10 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/1.08, allocations: 21.62 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/1.08, allocations: 166.6 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.08, allocations: 5.219 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/1.08, allocations: 5.281 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/1.08, allocations: 42.11 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.08, allocations: 4.188 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.08, allocations: 5.312 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.08, allocations: 0.9062 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/1.08, allocations: 14.89 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/1.081, allocations: 161.2 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/1.082, allocations: 273.7 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/1.083, allocations: 18.88 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/1.083, allocations: 1.547 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.083, allocations: 31.38 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.083, allocations: 0.8125 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001847/1.083, allocations: 69.84 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/1.083, allocations: 52.31 kB / 1.265 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/1.083, allocations: 96.09 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.083, allocations: 30.52 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.153e-05/1.083, allocations: 80.14 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.083, allocations: 14.48 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/1.083, allocations: 18.05 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/1.083, allocations: 316.9 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/1.083, allocations: 10.53 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/1.083, allocations: 9.359 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/1.083, allocations: 28.77 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.083, allocations: 1.094 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.745e-05/1.083, allocations: 51.8 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.083, allocations: 5.484 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.083, allocations: 8.656 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.083, allocations: 0 / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/1.083, allocations: 6.672 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.083, allocations: 4.75 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/1.083, allocations: 1.328 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/1.083, allocations: 0.9062 kB / 1.266 GB, free: 5.164 MB / 0.9981 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.362e-05/1.083, allocations: 112.1 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/1.083, allocations: 5.422 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/1.083, allocations: 12.25 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.084, allocations: 1.422 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.084, allocations: 0.8125 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.084, allocations: 0.7969 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.691e-05/1.084, allocations: 161.7 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.084, allocations: 4.734 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/1.084, allocations: 10.36 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.084, allocations: 0.875 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.084, allocations: 7.938 kB / 1.266 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.084, allocations: 1.203 kB / 1.266 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.084, allocations: 0.875 kB / 1.266 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/1.084, allocations: 77.48 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/1.084, allocations: 85.84 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/1.084, allocations: 4.5 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/1.084, allocations: 5.891 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/1.084, allocations: 2.062 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/1.084, allocations: 1.312 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.754e-05/1.084, allocations: 77.83 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.084, allocations: 0 / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001816/1.084, allocations: 5.031 kB / 1.267 GB, free: 4.566 MB / 0.9981 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.0001005/1.084, allocations: 101 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/1.084, allocations: 30.12 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.084, allocations: 0.9688 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/1.084, allocations: 12.72 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.085, allocations: 10.03 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/1.085, allocations: 159.2 kB / 1.267 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/1.085, allocations: 0.6746 MB / 1.268 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/1.085, allocations: 9.562 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.085, allocations: 0.9375 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of Templates: time 0.002293/1.087, allocations: 0.5325 MB / 1.268 GB, free: 3.57 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.198857253883034]