Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001557/0.001557, allocations: 102 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001551/0.001551, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.181/3.181, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 77.62 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4074, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002992/0.4104, allocations: 1.3 MB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.4121, allocations: 0.9279 MB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.4121, allocations: 0 / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.4121, allocations: 4 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.4122, allocations: 11.92 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.4129, allocations: 198 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.413, allocations: 19.92 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.4131, allocations: 0 / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.4131, allocations: 11.94 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.4132, allocations: 11.92 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.4132, allocations: 8 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.4136, allocations: 247.6 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.4136, allocations: 4 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.4137, allocations: 7.984 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.414, allocations: 155.6 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.414, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.414, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.414, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 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.0005266/0.4145, allocations: 363.1 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4145, allocations: 15.92 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.4148, allocations: 24.92 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.415, allocations: 168.3 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.415, allocations: 4.375 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.415, allocations: 4.125 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4151, allocations: 45.62 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4151, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4151, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4151, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.4152, allocations: 19.98 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.4154, allocations: 153.7 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.4164, allocations: 126.6 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.4164, allocations: 24.8 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.4166, allocations: 89.09 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4166, allocations: 34.5 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4166, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.4168, allocations: 61.67 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4168, allocations: 55.41 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.4169, allocations: 93.86 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4169, allocations: 25.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.417, allocations: 84.27 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.417, allocations: 11.91 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.4171, allocations: 21.7 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4172, allocations: 310.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.4172, allocations: 8 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.4173, allocations: 8.172 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.4173, allocations: 32.78 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4173, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.4174, allocations: 61.62 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4174, allocations: 4 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4174, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4175, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.4175, allocations: 11.98 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4175, allocations: 7.875 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.4176, allocations: 3.953 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.4176, allocations: 8 kB / 1.326 GB, free: 13.81 MB / 1.029 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 9.008e-05/0.4177, allocations: 109.8 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.4177, allocations: 7.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.418, allocations: 81.11 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.418, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.418, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.418, allocations: 3.984 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.4181, allocations: 165.6 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4181, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.4182, allocations: 8.062 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4182, allocations: 4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.4182, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4182, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4182, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4184, allocations: 89 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.4184, allocations: 93.05 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4184, allocations: 4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.4185, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.4185, allocations: 4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.4185, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.4186, allocations: 75.28 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4186, allocations: 0 / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000277/0.4189, allocations: 55.86 kB / 1.327 GB, free: 13.01 MB / 1.029 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 (5): * Single equations (assignments): 5 * 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.000322/0.4192, allocations: 159.2 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.4193, allocations: 35.92 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4193, allocations: 0 / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.4193, allocations: 16 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.4195, allocations: 18.2 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.4199, allocations: 114.6 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.4202, allocations: 0.6806 MB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.52e-05/0.4203, allocations: 11.94 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.4203, allocations: 11.44 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4203, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Templates: time 0.004341/0.4246, allocations: 1.153 MB / 1.329 GB, free: 10.76 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.876390987075865]