Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.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.001381/0.001381, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001584/0.001584, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.494/1.494, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.985/2.985, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/4.004e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002083/0.002123, allocations: 0.667 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.00422, allocations: 1.365 MB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.004252, allocations: 4 kB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.004285, allocations: 3.938 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.004364, allocations: 3.938 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.004889, allocations: 115.4 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.005007, allocations: 47.8 kB / 0.9836 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005119, allocations: 11.98 kB / 0.9836 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.005225, allocations: 27.97 kB / 0.9836 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.005293, allocations: 19.91 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005312, allocations: 4 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.005688, allocations: 139.7 kB / 0.9837 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.005715, allocations: 11.94 kB / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.005752, allocations: 11.98 kB / 0.9838 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.006077, allocations: 151.5 kB / 0.9839 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.006079, allocations: 3.938 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00608, allocations: 0 / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.006084, allocations: 0 / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000763/0.006847, allocations: 306 kB / 0.9842 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.006902, allocations: 8.031 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.007409, allocations: 36.84 kB / 0.9843 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.00754, allocations: 117.7 kB / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.007554, allocations: 384 / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.007573, allocations: 8.375 kB / 0.9844 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.007863, allocations: 82.19 kB / 0.9845 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.007872, allocations: 192 / 0.9845 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007886, allocations: 384 / 0.9845 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007891, allocations: 384 / 0.9845 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.008218, allocations: 87.73 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.008769, allocations: 240.5 kB / 0.9848 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.009178, allocations: 86.53 kB / 0.9849 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.009338, allocations: 32.88 kB / 0.9849 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.009356, allocations: 8 kB / 0.9849 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.009389, allocations: 42.44 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.009391, allocations: 0 / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005769/0.009968, allocations: 121.6 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.01001, allocations: 51.41 kB / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01012, allocations: 117.8 kB / 0.9852 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01014, allocations: 25.7 kB / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.01021, allocations: 92.03 kB / 0.9853 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.01023, allocations: 15.91 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.01028, allocations: 21.7 kB / 0.9854 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.01043, allocations: 314.8 kB / 0.9857 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.01058, allocations: 31.97 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01074, allocations: 35.97 kB / 0.9857 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.01104, allocations: 64.75 kB / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01104, allocations: 0 / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003775/0.01142, allocations: 113.5 kB / 0.9859 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01144, allocations: 10.19 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01144, allocations: 0 / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01146, allocations: 0 / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01161, allocations: 19.97 kB / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01161, allocations: 0 / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01171, allocations: 4 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.01173, allocations: 7.984 kB / 0.9859 GB, free: 7.184 MB / 0.9356 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 0.0001067/0.01184, allocations: 117.8 kB / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.01187, allocations: 15.88 kB / 0.9861 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.0119, allocations: 8 kB / 0.9861 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.0119, allocations: 0 / 0.9861 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01191, allocations: 0 / 0.9861 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01191, allocations: 4 kB / 0.9861 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.01208, allocations: 125.3 kB / 0.9862 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01208, allocations: 3.938 kB / 0.9862 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.01221, allocations: 15.98 kB / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01222, allocations: 0 / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01223, allocations: 12.11 kB / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01224, allocations: 4 kB / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01224, allocations: 0 / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.01266, allocations: 187.5 kB / 0.9864 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01268, allocations: 15.83 kB / 0.9864 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.0127, allocations: 3.938 kB / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01284, allocations: 7.984 kB / 0.9864 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01288, allocations: 8 kB / 0.9864 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.0129, allocations: 7.984 kB / 0.9864 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.01296, allocations: 83.28 kB / 0.9865 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01296, allocations: 0 / 0.9865 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000266/0.01323, allocations: 16 kB / 0.9865 GB, free: 6.504 MB / 0.9356 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.0002172/0.01344, allocations: 111.2 kB / 0.9866 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.01383, allocations: 79.92 kB / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01383, allocations: 0 / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.01399, allocations: 35.91 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01433, allocations: 2.234 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.01487, allocations: 160.8 kB / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.01493, allocations: 71.33 kB / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.517e-05/0.01502, allocations: 16.25 kB / 0.987 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.01506, allocations: 12.5 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.01506, allocations: 0 / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of Templates: time 0.00389/0.01895, allocations: 0.9887 MB / 0.988 GB, free: 5.004 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.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.317554362118244]