Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001563/0.001563, allocations: 113.1 kB / 17.08 MB, free: 5.789 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.001571/0.001571, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7178 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 71.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3035, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002292/0.3058, allocations: 0.8255 MB / 1.177 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.306, allocations: 51.78 kB / 1.177 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.306, allocations: 0 / 1.177 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.3061, allocations: 7.922 kB / 1.177 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.3062, allocations: 7.875 kB / 1.177 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.062e-05/0.3062, allocations: 19.98 kB / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3064, allocations: 63.78 kB / 1.177 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3065, allocations: 39.97 kB / 1.177 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.3066, allocations: 23.94 kB / 1.177 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.3067, allocations: 31.78 kB / 1.177 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3067, allocations: 8 kB / 1.177 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.3067, allocations: 4 kB / 1.177 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.3067, allocations: 15.94 kB / 1.177 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.3068, allocations: 35.78 kB / 1.177 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.3069, allocations: 75.53 kB / 1.177 GB, free: 4.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3069, allocations: 4 kB / 1.177 GB, free: 4.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3069, allocations: 0 / 1.177 GB, free: 4.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3069, allocations: 0 / 1.177 GB, free: 4.66 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004846/0.3074, allocations: 389.3 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3075, allocations: 8.031 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3075, allocations: 16.84 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.3078, allocations: 196.2 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3079, allocations: 8.312 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3079, allocations: 8.375 kB / 1.178 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3081, allocations: 91.94 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3081, allocations: 8.188 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3081, allocations: 3.938 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3081, allocations: 3.984 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.3082, allocations: 39.92 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.3089, allocations: 428.8 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.309, allocations: 45.19 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.309, allocations: 21.83 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.309, allocations: 0 / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3091, allocations: 34.56 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3091, allocations: 3.938 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.3093, allocations: 61.75 kB / 1.178 GB, free: 3.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3094, allocations: 77.11 kB / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3095, allocations: 160.3 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3095, allocations: 25.7 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.3096, allocations: 104 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.3096, allocations: 3.953 kB / 1.179 GB, free: 2.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3097, allocations: 17.72 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3098, allocations: 322.8 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.3099, allocations: 8.031 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.3099, allocations: 25.64 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.3099, allocations: 21.72 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3099, allocations: 0 / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.66e-05/0.31, allocations: 61.55 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3101, allocations: 11.98 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3101, allocations: 8 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3101, allocations: 0 / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.3102, allocations: 4 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3102, allocations: 4 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.3102, allocations: 0 / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3102, allocations: 4 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.747e-05/0.3103, allocations: 117.8 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3104, allocations: 7.953 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.3104, allocations: 15.8 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3104, allocations: 4 kB / 1.179 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3104, allocations: 4 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3104, allocations: 0 / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.3109, allocations: 470.7 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.3109, allocations: 8 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3109, allocations: 8 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.311, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.311, allocations: 81.88 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.3111, allocations: 92.98 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3111, allocations: 4 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.3112, allocations: 8.031 kB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3112, allocations: 0 / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.3112, allocations: 0 / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3113, allocations: 122.9 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3113, allocations: 0 / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002001/0.3115, allocations: 11.94 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001419/0.3117, allocations: 103.2 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.3118, allocations: 16.06 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3118, allocations: 4.062 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.3118, allocations: 15.92 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.312, allocations: 7.938 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.3123, allocations: 188.2 kB / 1.18 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3126, allocations: 0.6925 MB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.3127, allocations: 15.44 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/0.3127, allocations: 0 / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of Templates: time 0.002688/0.3154, allocations: 0.8716 MB / 1.182 GB, free: 15.18 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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: 10.132516774930991]