Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.3 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 197.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.72 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2275, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi): time 0.00246/0.2299, allocations: 1.456 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.231, allocations: 0.6785 MB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.231, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2311, allocations: 3.938 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.2311, allocations: 11.88 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.2315, allocations: 107.5 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.2316, allocations: 51.86 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.2317, allocations: 23.92 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.2318, allocations: 15.98 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.2319, allocations: 27.86 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2319, allocations: 4 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.2321, allocations: 147.8 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.2322, allocations: 7.984 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.2322, allocations: 23.88 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2324, allocations: 139.6 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2324, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2324, allocations: 4 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2324, allocations: 3.938 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004916/0.2329, allocations: 391.2 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.233, allocations: 8.031 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.2334, allocations: 24.91 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2335, allocations: 176.3 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2335, allocations: 4.375 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2336, allocations: 8.312 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2338, allocations: 86.19 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2338, allocations: 192 / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2338, allocations: 3.938 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2339, allocations: 0 / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.2341, allocations: 75.94 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.2347, allocations: 332.5 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.235, allocations: 86.52 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2351, allocations: 36.84 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2351, allocations: 0 / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2352, allocations: 34.59 kB / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2352, allocations: 8 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004915/0.2357, allocations: 125.5 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2357, allocations: 51.41 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.2358, allocations: 125.8 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2358, allocations: 29.7 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.2359, allocations: 84.14 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2359, allocations: 19.73 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.236, allocations: 17.72 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2361, allocations: 322.8 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2362, allocations: 27.97 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2363, allocations: 40.09 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.2366, allocations: 72.73 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2366, allocations: 0 / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003112/0.2369, allocations: 105.5 kB / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2369, allocations: 8 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2369, allocations: 0 / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.237, allocations: 0 / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2371, allocations: 19.97 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2371, allocations: 0 / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2372, allocations: 11.92 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2373, allocations: 4 kB / 0.956 GB, free: 2.793 MB / 0.7325 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 (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 prepare postOptimizeDAE: time 7.611e-05/0.2373, allocations: 121.7 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2374, allocations: 8.094 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2374, allocations: 15.88 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2374, allocations: 4 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2374, allocations: 0 / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2374, allocations: 0 / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2376, allocations: 181.6 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2376, allocations: 0 / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2378, allocations: 19.97 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2378, allocations: 3.938 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2378, allocations: 4 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2378, allocations: 0 / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2378, allocations: 0 / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.2381, allocations: 203.3 kB / 0.9566 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.2382, allocations: 77.11 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2382, allocations: 3.938 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2384, allocations: 16.05 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.2384, allocations: 3.984 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2384, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.2385, allocations: 99.27 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2385, allocations: 0 / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000246/0.2387, allocations: 16 kB / 0.9568 GB, free: 1.934 MB / 0.7325 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.0001462/0.2389, allocations: 123.1 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.2392, allocations: 63.94 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2392, allocations: 4 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.2394, allocations: 39.89 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.2396, allocations: 12 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.2401, allocations: 159.2 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2403, allocations: 0.6922 MB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.46e-05/0.2404, allocations: 11.94 kB / 0.9578 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.2404, allocations: 19.42 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2405, allocations: 0 / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of Templates: time 0.003252/0.2437, allocations: 1.098 MB / 0.9589 GB, free: 15.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_h_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches